OleDbParameterCollection.IndexOf Method

Definition

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);

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)

IndexOf(Object)

Source:
OleDbParameterCollectionHelper.cs
Source:
OleDbParameterCollectionHelper.cs
Source:
OleDbParameterCollectionHelper.cs

The location of the specified Object within the collection.

public override int IndexOf (object value);
public int IndexOf (object value);

Parameters

value
Object

The Object to find.

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)

IndexOf(String)

Source:
OleDbParameterCollectionHelper.cs
Source:
OleDbParameterCollectionHelper.cs
Source:
OleDbParameterCollectionHelper.cs

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

public override int IndexOf (string parameterName);
public int IndexOf (string parameterName);

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)