SemanticValue.IDictionary<String,SemanticValue>.TryGetValue Metod

Definition

Hämtar den SemanticValue associerade med den angivna nyckeln.

 virtual bool System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.TryGetValue(System::String ^ key, [Runtime::InteropServices::Out] System::Speech::Recognition::SemanticValue ^ % value) = System::Collections::Generic::IDictionary<System::String ^, System::Speech::Recognition::SemanticValue ^>::TryGetValue;
bool IDictionary<string,SemanticValue>.TryGetValue(string key, out System.Speech.Recognition.SemanticValue value);
abstract member System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.TryGetValue : string * SemanticValue -> bool
override this.System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.TryGetValue : string * SemanticValue -> bool
Function TryGetValue (key As String, ByRef value As SemanticValue) As Boolean Implements IDictionary(Of String, SemanticValue).TryGetValue

Parametrar

key
String

En nyckel för en SemanticValue.

value
SemanticValue

För SemanticValue att få.

Returer

trueom ordlistan innehåller ett nyckel/värde-par med den angivna nyckeln; annars . false

Gäller för