SqlParameterCollection.RemoveAt Method

Definition

Overloads

RemoveAt(Int32)

Removes the SqlParameter from the SqlParameterCollection at the specified index.

RemoveAt(String)

Removes the SqlParameter from the SqlParameterCollection at the specified parameter name.

RemoveAt(Int32)

Removes the SqlParameter from the SqlParameterCollection at the specified index.

public:
 override void RemoveAt(int index);
public override void RemoveAt (int index);
override this.RemoveAt : int -> unit
Public Overrides Sub RemoveAt (index As Integer)

Parameters

index
Int32

The zero-based index of the SqlParameter object to remove.

Applies to

RemoveAt(String)

Removes the SqlParameter from the SqlParameterCollection at the specified parameter name.

public:
 override void RemoveAt(System::String ^ parameterName);
public override void RemoveAt (string parameterName);
override this.RemoveAt : string -> unit
Public Overrides Sub RemoveAt (parameterName As String)

Parameters

parameterName
String

The name of the SqlParameter to remove.

Applies to