SemanticValue.Contains(KeyValuePair<String,SemanticValue>) Metoda

Definice

Určuje, zda aktuální SemanticValue kolekce instancí obsahuje konkrétní klíč a určitou instanci SemanticValue vyjádřenou jako dvojici klíč/hodnota.

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

Parametry

item
KeyValuePair<String,SemanticValue>

Instance instance KeyValuePair<TKey,TValue> pro danou hodnotu řetězce klíče a SemanticValue instance.

Návraty

Boolean

Vrátí hodnotu, bool která je v true případě SemanticValue , že aktuální obsahuje instanci nenašla < řetězce SemanticValue > pro zadanou hodnotu řetězce klíče a SemanticValue . V opačném případě false se vrátí.

Implementuje

Platí pro