OleDbParameterCollection.RemoveAt 方法

定義

OleDbParameter 的指定索引處移除 OleDbParameterCollection 物件。Removes the OleDbParameter object from the OleDbParameterCollection at the specified index.

多載

RemoveAt(Int32)

OleDbParameter 的指定索引處移除 OleDbParameterCollectionRemoves the OleDbParameter from the OleDbParameterCollection at the specified index.

RemoveAt(String)

OleDbParameter 的指定參數名稱處移除 OleDbParameterCollectionRemoves the OleDbParameter from the OleDbParameterCollection at the specified parameter name.

RemoveAt(Int32)

OleDbParameter 的指定索引處移除 OleDbParameterCollectionRemoves the OleDbParameter from the OleDbParameterCollection at the specified index.

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

參數

index
Int32

要移除的 OleDbParameter 物件之以零起始的索引。The zero-based index of the OleDbParameter object to remove.

實作

另請參閱

適用於

RemoveAt(String)

OleDbParameter 的指定參數名稱處移除 OleDbParameterCollectionRemoves the OleDbParameter from the OleDbParameterCollection at the specified parameter name.

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

參數

parameterName
String

要移除的 OleDbParameter 物件名稱。The name of the OleDbParameter object to remove.

實作

另請參閱

適用於