OleDbParameterCollection.IndexOf Method
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.
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. |
- 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 -> 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
.NET 9 (package-provided) والإصدارات الأخرى
منتج | الإصدارات |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
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
Returns
The zero-based location of the specified Object that is a OleDbParameterCollection within the collection.
Implements
See also
Applies to
.NET 9 (package-provided) والإصدارات الأخرى
منتج | الإصدارات |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
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 -> 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 OleDbParameter to find.
Returns
The zero-based location of the specified OleDbParameter with the specified case-sensitive name.
Implements
See also
Applies to
.NET 9 (package-provided) والإصدارات الأخرى
منتج | الإصدارات |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
ملاحظات .NET
.NET هو مشروع مصدر مفتوح. حدد رابطًا لتقديم الملاحظات: