SqlParameterCollection.Insert Method

Definition

Inserts a SqlParameter object into the SqlParameterCollection.

Overloads

Insert(Int32, SqlParameter)

Inserts a SqlParameter object into the SqlParameterCollection at the specified index.

Insert(Int32, Object)

Inserts an Object into the SqlParameterCollection at the specified index.

Insert(Int32, SqlParameter)

Inserts a SqlParameter object into the SqlParameterCollection at the specified index.

public:
 void Insert(int index, System::Data::SqlClient::SqlParameter ^ value);
public void Insert (int index, System.Data.SqlClient.SqlParameter value);
override this.Insert : int * System.Data.SqlClient.SqlParameter -> unit
Public Sub Insert (index As Integer, value As SqlParameter)

Parameters

index
Int32

The zero-based index at which value should be inserted.

value
SqlParameter

A SqlParameter object to be inserted in the SqlParameterCollection.

See also

Insert(Int32, Object)

Inserts an Object into the SqlParameterCollection at the specified index.

public:
 virtual void Insert(int index, System::Object ^ value);
public void Insert (int index, object value);
abstract member Insert : int * obj -> unit
override this.Insert : int * obj -> unit
Public Sub Insert (index As Integer, value As Object)

Parameters

index
Int32

The zero-based index at which value should be inserted.

value
Object

An Object to be inserted in the SqlParameterCollection.

Implements

See also

Applies to