IDataParameterCollection.IndexOf(String) Method

Definition

Gets the location of the IDataParameter within the collection.

public:
 int IndexOf(System::String ^ parameterName);
public int IndexOf (string parameterName);
abstract member IndexOf : string -> int
Public Function IndexOf (parameterName As String) As Integer

Parameters

parameterName
String

The name of the parameter.

Returns

Int32

The zero-based location of the IDataParameter within the collection.

Applies to