SemanticValue.IDictionary<String,SemanticValue>.Remove(String) 方法

定义

从字典中移除指定的键和 SemanticValue

 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

参数

key
String

SemanticValue 的键。

返回

如果从目录中成功移除了键/值对,则为 true;否则为 false。 如果在字典中未找到键/值对,则此方法也会返回 false

实现

适用于