IJSVsaItems.Remove 方法

定义

从集合中移除一个项。Removes an item from the collection.

重载

Remove(Int32)

从集合中移除按照项的索引值指定的项。Removes an item from the collection, as specified by its index value.

Remove(String)

从集合中移除按照项的名称指定的项。Removes an item from the collection, as specified by its name.

Remove(Int32)

从集合中移除按照项的索引值指定的项。Removes an item from the collection, as specified by its index value.

public:
 void Remove(int index);
public void Remove (int index);
abstract member Remove : int -> unit
Public Sub Remove (index As Integer)

参数

index
Int32

要移除的项的索引值。The index value of the item to be removed.

Remove(String)

从集合中移除按照项的名称指定的项。Removes an item from the collection, as specified by its name.

public:
 void Remove(System::String ^ name);
public void Remove (string name);
abstract member Remove : string -> unit
Public Sub Remove (name As String)

参数

name
String

要从集合中移除的项的名称。The name of the item to be removed from the collection.

适用于