Method Remove
Remove(String)
Removes the key value pair from the NamedTagsDictionary.
Declaration
public void Remove(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Key of an item. |
Examples
The following example removes a named tag.
NamedTagsDictionary tags = new NamedTagsDictionary();
tags.Add("Tag1", int.MaxValue);
tags.Remove("Tag1");