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

实现

适用于