SqlParameterCollection.RemoveAt Method

Definition

Removes the SqlParameter object from the SqlParameterCollection at the specified index.

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:
 virtual void RemoveAt(int index);
public void RemoveAt (int index);
abstract member RemoveAt : int -> unit
override this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

Parameters

index
Int32

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

Implements

See also

RemoveAt(String)

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

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

Parameters

parameterName
String

The name of the SqlParameter to remove.

Implements

See also

Applies to