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
。
實作
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應