TagList.Remove(KeyValuePair<String,Object>) 方法

定義

TagList 移除特定物件之第一個符合的元素。

public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item);
public bool Remove (System.Collections.Generic.KeyValuePair<string,object?> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Public Function Remove (item As KeyValuePair(Of String, Object)) As Boolean

參數

item
KeyValuePair<String,Object>

要從 中移除的 TagList標記。

傳回

如果成功移除 item 則為 true,否則為 false。 如果在 false 中找不到 item,則這個方法也會傳回 TagList

實作

適用於