Send feedback on this topic.
Teradata.Client.Provider
IndexOf(String) Method



Teradata.Client.Provider Namespace > TdParameterCollection Class > IndexOf Method : IndexOf(String) Method
Specifies the parameter name.
Returns the position of a TdParameter with the specified parameter name in the TdParameterCollection.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function IndexOf( _
   ByVal parameterName As String _
) As Integer
'Usage
 
Dim instance As TdParameterCollection
Dim parameterName As String
Dim value As Integer
 
value = instance.IndexOf(parameterName)
public override int IndexOf( 
   string parameterName
)
public:
int IndexOf( 
   String^ parameterName
) override 

Parameters

parameterName
Specifies the parameter name.

Return Value

Returns the zero-based position of the TdParameter object in the collection; otherwise -1.
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdParameterCollection Class
TdParameterCollection Members
Overload List
TdParameter Class