OdbcParameterCollection.IndexOf Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the location of the specified OdbcParameter within the collection.
Overloads
| Name | Description |
|---|---|
| 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)
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)
Gets 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
Returns
The zero-based location of the specified Object that is a OdbcParameter within the collection.
Implements
See also
Applies to
IndexOf(String)
Gets the location of the specified OdbcParameter 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 OdbcParameter to find.
Returns
The zero-based location of the specified OdbcParameter with the specified case-sensitive name.