SemanticValue.ICollection<KeyValuePair<String, SemanticValue>>.Remove Method

Removes the specified key and SemanticValue from the collection.

Namespace:  System.Speech.Recognition
Assembly:  System.Speech (in System.Speech.dll)

bool ICollection<KeyValuePair<string, SemanticValue>>.Remove(
	KeyValuePair<string, SemanticValue> key
)

Return Value

Type: System.Boolean
Returns true if the key/value pair was successfully removed from the collection; otherwise the method returns false. This method also returns false if the key/value pair is not found in the collection.

Implements

ICollection<T>.Remove(T)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4
Show: