OdbcParameterCollection.IndexOf Method

Definition

Gets the location of the specified OdbcParameter within the collection.

Overloads

IndexOf(OdbcParameter)

Gets the location of the specified OdbcParameter within the collection.

IndexOf(Object)

Gets the location of the specified Object within the collection.

IndexOf(String)

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

IndexOf(OdbcParameter)

Source:
OdbcParameterCollection.cs
Source:
OdbcParameterCollection.cs
Source:
OdbcParameterCollection.cs
Source:
OdbcParameterCollection.cs
Source:
OdbcParameterCollection.cs

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

The OdbcParameter object in the collection to find.

Returns

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

See also

Applies to

IndexOf(Object)

Source:
OdbcParameterCollectionHelper.cs
Source:
OdbcParameterCollectionHelper.cs
Source:
OdbcParameterCollectionHelper.cs
Source:
OdbcParameterCollectionHelper.cs
Source:
OdbcParameterCollectionHelper.cs

Gets 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 OdbcParameter within the collection.

Implements

See also

Applies to

IndexOf(String)

Source:
OdbcParameterCollectionHelper.cs
Source:
OdbcParameterCollectionHelper.cs
Source:
OdbcParameterCollectionHelper.cs
Source:
OdbcParameterCollectionHelper.cs
Source:
OdbcParameterCollectionHelper.cs

Gets the location of the specified OdbcParameter 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 OdbcParameter to find.

Returns

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

Implements

See also

Applies to