VsaItems.Remove 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從收藏中移除一項物品。
多載
| 名稱 | Description |
|---|---|
| Remove(Int32) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 從集合中移除由指定索引值指定的項目。 |
| Remove(String) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 將指定名稱的項目從集合中移除。 |
Remove(Int32)
從集合中移除由指定索引值指定的項目。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
virtual void Remove(int itemIndex);
public void Remove(int itemIndex);
abstract member Remove : int -> unit
override this.Remove : int -> unit
Public Sub Remove (itemIndex As Integer)
參數
- itemIndex
- Int32
要移除的項目索引。
實作
另請參閱
適用於
Remove(String)
將指定名稱的項目從集合中移除。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
virtual void Remove(System::String ^ itemName);
public void Remove(string itemName);
abstract member Remove : string -> unit
override this.Remove : string -> unit
Public Sub Remove (itemName As String)
參數
- itemName
- String
要移除的物品名稱。