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

实现

适用于