共用方式為


SemanticValue.IDictionary<String,SemanticValue>.Add 方法

定義

將指定的索引鍵和 SemanticValue 加入字典中。

 virtual void System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Add(System::String ^ key, System::Speech::Recognition::SemanticValue ^ value) = System::Collections::Generic::IDictionary<System::String ^, System::Speech::Recognition::SemanticValue ^>::Add;
void IDictionary<string,SemanticValue>.Add (string key, System.Speech.Recognition.SemanticValue value);
abstract member System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Add : string * System.Speech.Recognition.SemanticValue -> unit
override this.System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Add : string * System.Speech.Recognition.SemanticValue -> unit
Sub Add (key As String, value As SemanticValue) Implements IDictionary(Of String, SemanticValue).Add

參數

key
String

SemanticValue 的索引鍵。

value
SemanticValue

要加入的 SemanticValue

實作

適用於