OleDbParameterCollection.IndexOf Method

Definition

Gets the location of the specified OleDbParameterCollection within the collection.

Overloads

IndexOf(OleDbParameter)

Gets the location of the specified OleDbParameter within the collection.

IndexOf(Object)

The location of the specified Object within the collection.

IndexOf(String)

Gets the location of the specified OleDbParameter with the specified name.

IndexOf(OleDbParameter)

Gets the location of the specified OleDbParameter within the collection.

public:
 int IndexOf(System::Data::OleDb::OleDbParameter ^ value);
public int IndexOf (System.Data.OleDb.OleDbParameter value);
override this.IndexOf : System.Data.OleDb.OleDbParameter -> int
Public Function IndexOf (value As OleDbParameter) As Integer

Parameters

value
OleDbParameter

The OleDbParameter object in the collection to find.

Returns

The zero-based location of the specified OleDbParameter that is a OleDbParameter within the collection.

See also

Applies to

IndexOf(Object)

The location of the specified Object within the collection.

public:
 override int IndexOf(System::Object ^ value);
public:
 virtual int IndexOf(System::Object ^ value);
public override int IndexOf (object value);
public int IndexOf (object value);
override this.IndexOf : obj -> int
abstract member IndexOf : obj -> int
override this.IndexOf : obj -> int
Public Overrides Function IndexOf (value As Object) As Integer
Public Function IndexOf (value As Object) As Integer

Parameters

value
Object

The Object to find.

Returns

The zero-based location of the specified Object that is a OleDbParameterCollection within the collection.

Implements

See also

Applies to

IndexOf(String)

Gets the location of the specified OleDbParameter with the specified name.

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

Parameters

parameterName
String

The case-sensitive name of the OleDbParameter to find.

Returns

The zero-based location of the specified OleDbParameter with the specified case-sensitive name.

Implements

See also

Applies to