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

Definition

Anger om den aktuella SemanticValue instanssamlingen innehåller en specifik nyckel och en specifik instans av SemanticValue uttryckt som ett nyckel/värde-par.

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

Parametrar

item
KeyValuePair<String,SemanticValue>

En instans av KeyValuePair<TKey,TValue> instansierad för ett givet värde för en nyckelsträng och en SemanticValue instans.

Returer

true om den aktuella SemanticValue innehåller en instans av KeyValuePair<String, SemanticValue> för ett angivet värde för nyckelsträngen SemanticValueoch ; annars false.

Implementeringar

Gäller för