ActivityTagsCollection.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Remove(KeyValuePair<String,Object>) |
Removes the first occurrence of a specific item from the collection. |
Remove(String) |
Removes the tag with the specified key from the collection. |
Remove(KeyValuePair<String,Object>)
- Source:
- ActivityTagsCollection.cs
- Source:
- ActivityTagsCollection.cs
- Source:
- ActivityTagsCollection.cs
Removes the first occurrence of a specific item from the collection.
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
Parameters
- item
- KeyValuePair<String,Object>
The tag key value pair to remove.
Returns
true
if item was successfully removed from the collection; otherwise, false
. This method also returns false
if item is not found in the original collection.
Implements
Applies to
Remove(String)
- Source:
- ActivityTagsCollection.cs
- Source:
- ActivityTagsCollection.cs
- Source:
- ActivityTagsCollection.cs
Removes the tag with the specified key from the collection.
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
Parameters
- key
- String
The tag key.
Returns
true
if the item existed and removed. false
otherwise.