Dela via


SemanticValue.IDictionary<String,SemanticValue>.Remove(String) Method

Definition

Removes the specified key and SemanticValue from the dictionary.

 virtual bool System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Remove(System::String ^ key) = System::Collections::Generic::IDictionary<System::String ^, System::Speech::Recognition::SemanticValue ^>::Remove;
bool IDictionary<string,SemanticValue>.Remove (string key);
abstract member System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Remove : string -> bool
override this.System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Remove : string -> bool
Function Remove (key As String) As Boolean Implements IDictionary(Of String, SemanticValue).Remove

Parameters

key
String

A key for a SemanticValue.

Returns

true if the key/value pair was successfully removed from the dictionary; otherwise, false. This method also returns false if the key/value pair is not found in the dictionary.

Implements

Applies to