SemanticValue.IDictionary<String,SemanticValue>.Remove(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从字典中删除指定的键 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 。