TypeElementCollection.RemoveAt 方法
定义
从集合中移除指定的元素。Removes a specified element from the collection.
重载
| RemoveAt(Int32) |
移除集合中指定索引处的元素。Removes the element at the specified index in the collection. |
| RemoveAt(Object) |
从集合中移除具有指定键的 TypeElement。Removes the TypeElement with the specified key from the collection. |
RemoveAt(Int32)
移除集合中指定索引处的元素。Removes the element at the specified index in the collection.
public:
void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
参数
- index
- Int32
要从集合中移除的 TypeElement 的从零开始的索引。The zero-based index of the TypeElement to remove from the collection.
适用于
RemoveAt(Object)
从集合中移除具有指定键的 TypeElement。Removes the TypeElement with the specified key from the collection.
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 的键。The key of the TypeElement to be removed from the collection.