ActivityTagsCollection.Remove 方法

定義

多載

Remove(KeyValuePair<String,Object>)

從集合中移除特定項目的第一個符合項目。

Remove(String)

從集合移除具有指定之機碼的標籤。

Remove(KeyValuePair<String,Object>)

來源:
ActivityTagsCollection.cs
來源:
ActivityTagsCollection.cs
來源:
ActivityTagsCollection.cs

從集合中移除特定項目的第一個符合項目。

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>

要移除的標籤機碼值組。

傳回

如果從集合中成功移除項目,則為 true,否則為 false。 如果在原始集合中找不到項目,則這個方法也會傳回 false

實作

適用於

Remove(String)

來源:
ActivityTagsCollection.cs
來源:
ActivityTagsCollection.cs
來源:
ActivityTagsCollection.cs

從集合移除具有指定之機碼的標籤。

public:
 virtual bool Remove(System::String ^ key);
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean

參數

key
String

標籤索引鍵。

傳回

如果項目存在且已移除,則為 true。 否則為 false

實作

適用於