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
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdParameterCollection Class
TdParameterCollection Members
Overload List
TdParameter Class