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

Definition

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

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 von KeyValuePair<TKey,TValue>, die für einen angegebenen Wert einer Schlüsselzeichenfolge und der SemanticValue-Instanz instanziiert wird.

Gibt zurück

Boolean

Gibt bool zurück, das true ist, wenn der aktuelle SemanticValue eine Instanz von KeyValuePair<String, SemanticValue> für einen angegebenen Wert der Schlüsselzeichenfolge und des SemanticValue enthält. Andernfalls wird false zurückgegeben.

Implementiert

Gilt für