![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
SemanticValue..::..IDictionary<(Of <(<'String, SemanticValue>)>)>..::..Remove Method |
SemanticValue Class See Also Send Feedback |
Removes the specified key and SemanticValue from the dictionary.
Namespace:
Microsoft.Speech.Recognition
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Private Function Remove ( _ key As String _ ) As Boolean Implements IDictionary(Of String, SemanticValue).Remove |
Visual Basic (Usage) |
---|
Dim instance As SemanticValue Dim key As String Dim returnValue As Boolean returnValue = CType(instance, IDictionary(Of String, SemanticValue)).Remove(key) |
C# |
---|
bool IDictionary<string, SemanticValue>.Remove( string key ) |
Parameters
- key
- Type: System..::..String
A key for a SemanticValue.
Return Value
Type: System..::..BooleanReturns 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.