SemanticValue.IDictionary<String, SemanticValue>.Remove Method

Removes the specified key and SemanticValue from the dictionary.

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

Syntax

'Declaration
Private Function Remove ( _
    key As String _
) As Boolean Implements IDictionary(Of String, SemanticValue).Remove
bool IDictionary<string, SemanticValue>.Remove(
    string key
)
private:
virtual bool Remove(
    String^ key
) sealed = IDictionary<String^, SemanticValue^>::Remove
private abstract Remove : 
        key:string -> bool  
private override Remove : 
        key:string -> bool
JScript does not support explicit interface implementations.

Parameters

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.

Implements

IDictionary<TKey, TValue>.Remove(TKey)

Version Information

.NET Framework

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

.NET Framework Client Profile

Supported in: 4

See Also

Reference

SemanticValue Class

System.Speech.Recognition Namespace