Share via


SqliteParameterCollection.IndexOf Method

Definition

Overloads

IndexOf(SqliteParameter)

Gets the index of the specified parameter.

IndexOf(Object)

Gets the index of the specified parameter.

IndexOf(String)

Gets the index of the parameter with the specified name.

IndexOf(SqliteParameter)

Gets the index of the specified parameter.

public virtual int IndexOf (Microsoft.Data.Sqlite.SqliteParameter value);
override this.IndexOf : Microsoft.Data.Sqlite.SqliteParameter -> int
Public Overridable Function IndexOf (value As SqliteParameter) As Integer

Parameters

value
SqliteParameter

The parameter.

Returns

The zero-based index of the parameter.

Applies to

IndexOf(Object)

Gets the index of the specified parameter.

public override int IndexOf (object value);
override this.IndexOf : obj -> int
Public Overrides Function IndexOf (value As Object) As Integer

Parameters

value
Object

The parameter. Must be a SqliteParameter.

Returns

The zero-based index of the parameter.

Applies to

IndexOf(String)

Gets the index of the parameter with the specified name.

public override int IndexOf (string parameterName);
override this.IndexOf : string -> int
Public Overrides Function IndexOf (parameterName As String) As Integer

Parameters

parameterName
String

The name of the parameter.

Returns

The zero-based index of the parameter or -1 if not found.

Applies to