SemanticValue.Contains(KeyValuePair<String,SemanticValue>) Método

Definición

Indica si la colección de la instancia de SemanticValue actual contiene una clave concreta y una instancia concreta de SemanticValue expresada como un par clave-valor.Indicates whether the current SemanticValue instance collection contains a specific key and a specific instance of SemanticValue expressed as a key/value pair.

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<System::String ^, System::Speech::Recognition::SemanticValue ^> item);
public bool Contains (System.Collections.Generic.KeyValuePair<string,System.Speech.Recognition.SemanticValue> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<string, System.Speech.Recognition.SemanticValue> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<string, System.Speech.Recognition.SemanticValue> -> bool
Public Function Contains (item As KeyValuePair(Of String, SemanticValue)) As Boolean

Parámetros

item
KeyValuePair<String,SemanticValue>

Una instancia de KeyValuePair<TKey,TValue> para un valor especificado de una cadena de tecla y una instancia de SemanticValue.An instance of KeyValuePair<TKey,TValue> instantiated for a given value of a key string and a SemanticValue instance.

Devoluciones

Devuelve un bool que es true si el SemanticValue actual contiene una instancia de KeyValuePair<String, SemanticValue> para un valor especificado de la cadena de clave y SemanticValue.Returns a bool which is true if the current SemanticValue contains an instance of KeyValuePair<String, SemanticValue> for a specified value of the key string and the SemanticValue. En caso contrario, devuelve false.Otherwise, false is returned.

Implementaciones

Se aplica a