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

定义

将指定的键和 SemanticValue 添加到字典中。Adds the specified key and SemanticValue to the dictionary.

 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);
Sub Add (key As String, value As SemanticValue) Implements IDictionary(Of String, SemanticValue).Add

参数

key
String

SemanticValue 的键。A key for a SemanticValue.

value
SemanticValue

要添加的 SemanticValueThe SemanticValue to add.

实现

适用于