







|
| SemanticValue..::..ICollection<(Of <(<'KeyValuePair<(Of <(<'String, SemanticValue>)>)>>)>)>..::..Remove Method |
| SemanticValue Class See Also Send Feedback |
Removes the specified key and SemanticValue from the collection.
Namespace:
Microsoft.Speech.Recognition
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Private Function Remove ( _ key As KeyValuePair(Of String, SemanticValue) _ ) As Boolean Implements ICollection(Of KeyValuePair(Of String, SemanticValue)).Remove |
| Visual Basic (Usage) |
|---|
Dim instance As SemanticValue Dim key As KeyValuePair(Of String, SemanticValue) Dim returnValue As Boolean returnValue = CType(instance, ICollection(Of KeyValuePair(Of String, SemanticValue))).Remove(key) |
| C# |
|---|
bool ICollection<KeyValuePair<string, SemanticValue>>.Remove( KeyValuePair<string, SemanticValue> key ) |
Parameters
- key
- Type: System.Collections.Generic..::..KeyValuePair<(Of <(<'String, SemanticValue>)>)>
A key for a SemanticValue.
Return Value
Type: System..::..BooleanReturns 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.
