SqlParameterCollection.Insert Method

Definition

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, Microsoft::Data::SqlClient::SqlParameter ^ value);
public void Insert (int index, Microsoft.Data.SqlClient.SqlParameter value);
override this.Insert : int * Microsoft.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.

Applies to

Insert(Int32, Object)

Inserts an Object into the SqlParameterCollection at the specified index.

public:
 override void Insert(int index, System::Object ^ value);
public override void Insert (int index, object value);
override this.Insert : int * obj -> unit
Public Overrides 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.

Applies to