SemanticValue.Contains(KeyValuePair<String,SemanticValue>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示目前 SemanticValue 實例集合是否包含特定鍵值及以鍵值對表示的特定實例 SemanticValue 。
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
參數
- item
- KeyValuePair<String,SemanticValue>
一個實例 KeyValuePair<TKey,TValue> ,實例化為給定的金鑰字串值與實 SemanticValue 例。
傳回
true 若 當前 SemanticValue 值包含 的 KeyValuePair<String, SemanticValue> 某個實例,且 ; SemanticValue否則, false。