OleDbParameterCollection.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 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)
- Source:
- OleDbParameterCollection.cs
- Source:
- OleDbParameterCollection.cs
- Source:
- OleDbParameterCollection.cs
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 -> intPublic Function IndexOf (value As OleDbParameter) As IntegerParameters
- 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 -> intabstract member IndexOf : obj -> int
override this.IndexOf : obj -> intPublic Overrides Function IndexOf (value As Object) As IntegerPublic Function IndexOf (value As Object) As IntegerParameters
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 -> intabstract member IndexOf : string -> int
override this.IndexOf : string -> intPublic Overrides Function IndexOf (parameterName As String) As IntegerPublic Function IndexOf (parameterName As String) As IntegerParameters
- 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.