語言

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 。

實作

適用於