IDictionary(String, SemanticValue).Remove Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

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..::..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<(Of <(<'TKey, TValue>)>)>..::..Remove(TKey)

See Also