SqlParameterCollection.RemoveAt Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.