OracleParameterCollection.IndexOf Method

Definition

Gets the location of the specified OracleParameter within the collection.

Overloads

IndexOf(OracleParameter)

Gets the location of the specified OracleParameter within the collection.

IndexOf(Object)

Gets the location of the specified Object within the collection.

IndexOf(String)

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

IndexOf(OracleParameter)

Gets the location of the specified OracleParameter within the collection.

public:
 int IndexOf(System::Data::OracleClient::OracleParameter ^ value);
public int IndexOf (System.Data.OracleClient.OracleParameter value);
override this.IndexOf : System.Data.OracleClient.OracleParameter -> int
Public Function IndexOf (value As OracleParameter) As Integer

Parameters

value
OracleParameter

The OracleParameter to find.

Returns

Int32

The zero-based location of the specified OracleParameter that is a OracleParameter within the collection.

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

value
Object

The Object to find.

Returns

Int32

The zero-based location of the specified Object that is a OracleParameter within the collection.

Implements

IndexOf(String)

Gets the location of the specified OracleParameter 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 OracleParameter to find.

Returns

Int32

The zero-based location of the specified OracleParameter that is a OracleParameter within the collection.

Implements

Applies to