OdbcParameterCollection.IndexOf OdbcParameterCollection.IndexOf OdbcParameterCollection.IndexOf OdbcParameterCollection.IndexOf Method

Definition

Gets the location of the specified OdbcParameter within the collection.

Overloads

IndexOf(OdbcParameter) IndexOf(OdbcParameter) IndexOf(OdbcParameter) IndexOf(OdbcParameter)

Gets the location of the specified OdbcParameter within the collection.

IndexOf(Object) IndexOf(Object) IndexOf(Object) IndexOf(Object)

Gets the location of the specified Object within the collection.

IndexOf(String) IndexOf(String) IndexOf(String) IndexOf(String)

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

IndexOf(OdbcParameter) IndexOf(OdbcParameter) IndexOf(OdbcParameter) IndexOf(OdbcParameter)

Gets the location of the specified OdbcParameter within the collection.

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

Parameters

value
OdbcParameter OdbcParameter OdbcParameter OdbcParameter

The OdbcParameter object in the collection to find.

Returns

The zero-based location of the specified OdbcParameter within the collection.

See also

IndexOf(Object) IndexOf(Object) IndexOf(Object) IndexOf(Object)

Gets the location of the specified Object within the collection.

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

Parameters

value
Object Object Object Object

The Object to find.

Returns

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

See also

IndexOf(String) IndexOf(String) IndexOf(String) IndexOf(String)

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

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

Parameters

parameterName
String String String String

The case-sensitive name of the OdbcParameter to find.

Returns

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

See also

Applies to