OleDbParameterCollection.IndexOf Method

Definition

Gets the location of the specified OleDbParameterCollection within the collection.

Overloads

Name Description
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:
 virtual int IndexOf(System::Object ^ value);
public:
 override int IndexOf(System::Object ^ value);
public int IndexOf(object value);
public override int IndexOf(object value);
abstract member IndexOf : obj -> int
override this.IndexOf : obj -> int
override this.IndexOf : obj -> int
Public Function IndexOf (value As Object) As Integer
Public Overrides 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:
 virtual int IndexOf(System::String ^ parameterName);
public:
 override int IndexOf(System::String ^ parameterName);
public int IndexOf(string parameterName);
public override int IndexOf(string parameterName);
abstract member IndexOf : string -> int
override this.IndexOf : string -> int
override this.IndexOf : string -> int
Public Function IndexOf (parameterName As String) As Integer
Public Overrides 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