TypeElementCollection.RemoveAt 方法

定義

從集合中移除指定的項目。

多載

RemoveAt(Int32)

從集合中移除指定索引處的項目。

RemoveAt(Object)

從集合中移除具有指定索引鍵的 TypeElement

RemoveAt(Int32)

從集合中移除指定索引處的項目。

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

參數

index
Int32

要從集合中移除的 TypeElement 之以零起始的索引。

適用於

RemoveAt(Object)

從集合中移除具有指定索引鍵的 TypeElement

public:
 void RemoveAt(System::Object ^ key);
public void RemoveAt (object key);
member this.RemoveAt : obj -> unit
Public Sub RemoveAt (key As Object)

參數

key
Object

要從集合中移除的 TypeElement 之索引鍵。

適用於