Upraviť

Zdieľať cez


DbParameterCollection.IndexOf Method

Definition

Returns the index of the specified DbParameter object.

Overloads

IndexOf(Object)

Returns the index of the specified DbParameter object.

IndexOf(String)

Returns the index of the DbParameter object with the specified name.

IndexOf(Object)

Source:
DbParameterCollection.cs
Source:
DbParameterCollection.cs
Source:
DbParameterCollection.cs

Returns the index of the specified DbParameter object.

public:
 abstract int IndexOf(System::Object ^ value);
public abstract int IndexOf (object value);
abstract member IndexOf : obj -> int
Public MustOverride Function IndexOf (value As Object) As Integer

Parameters

value
Object

The DbParameter object in the collection.

Returns

The index of the specified DbParameter object.

Implements

See also

Applies to

IndexOf(String)

Source:
DbParameterCollection.cs
Source:
DbParameterCollection.cs
Source:
DbParameterCollection.cs

Returns the index of the DbParameter object with the specified name.

public:
 abstract int IndexOf(System::String ^ parameterName);
public abstract int IndexOf (string parameterName);
abstract member IndexOf : string -> int
Public MustOverride Function IndexOf (parameterName As String) As Integer

Parameters

parameterName
String

The name of the DbParameter object in the collection.

Returns

The index of the DbParameter object with the specified name.

Implements

See also

Applies to