Remove Method
Definition
Remove(KeyValuePair<string, object>)
Removes the first occurrence of a specific object from the MetadataDictionary.
public bool Remove(KeyValuePair<string, object> item)
Parameters
itemKeyValuePair<string, object>The object to remove from the MetadataDictionary.
Returns
- bool
true if
itemwas successfully removed from the MetadataDictionary; otherwise, false. This method also returns false ifitemis not found in the original MetadataDictionary.
Remove(string)
Removes the element with the specified key from the MetadataDictionary.
public bool Remove(string key)
Parameters
keystringThe key of the element to remove.
Returns
- bool
true if the element is successfully removed; otherwise, false. This method also returns false if
keywas not found in the original MetadataDictionary.