SemanticValue.IDictionary<String, SemanticValue>.Remove Method

Removes the specified key and SemanticValue from the dictionary.

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


Private Function Remove ( _
    key As String _
) As Boolean Implements IDictionary(Of String, SemanticValue).Remove
Dim instance As SemanticValue
Dim key As String
Dim returnValue As Boolean

returnValue = CType(instance, IDictionary(Of String, SemanticValue)).Remove(key)
bool IDictionary<string, SemanticValue>.Remove(
    string key


Return Value

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


IDictionary<TKey, TValue>.Remove(TKey)

See Also


SemanticValue Class

SemanticValue Members

Microsoft.Speech.Recognition Namespace