Bagikan melalui


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

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)

Syntax

'Declaration
Private Function Remove ( _
    key As String _
) As Boolean Implements IDictionary(Of String, SemanticValue).Remove
'Usage
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
)

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)

See Also

Reference

SemanticValue Class

SemanticValue Members

Microsoft.Speech.Recognition Namespace