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

實作

適用於