Compartir vía


SemanticValue.IDictionary<String,SemanticValue>.TryGetValue Método

Definición

Obtiene el SemanticValue asociado con la clave especificada.

 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

Parámetros

key
String

Clave para SemanticValue.

value
SemanticValue

Clase SemanticValue que se va a obtener.

Devoluciones

Es true si el diccionario contiene un par clave-valor con la clave especificada; en caso contrario, es false.

Se aplica a