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

Definition

Gibt an, ob die aktuelle SemanticValue Instanzauflistung einen bestimmten Schlüssel und eine bestimmte Instanz von SemanticValue als Schlüssel-Wert-Paar ausgedrückt enthält.

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

Parameter

item
KeyValuePair<String,SemanticValue>

Eine Instanz, die KeyValuePair<TKey,TValue> für einen bestimmten Wert einer Schlüsselzeichenfolge und einer SemanticValue Instanz instanziiert wird.

Gibt zurück

true wenn der Aktuelle SemanticValue eine Instanz für KeyValuePair<String, SemanticValue> einen angegebenen Wert der Schlüsselzeichenfolge und der SemanticValue; andernfalls enthält false.

Implementiert

Gilt für: