AttributeDictionary.Contains(KeyValuePair<String,String>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷 ICollection<T> 是否包含特定值。
public:
virtual bool Contains(System::Collections::Generic::KeyValuePair<System::String ^, System::String ^> item);
public bool Contains (System.Collections.Generic.KeyValuePair<string,string> item);
public bool Contains (System.Collections.Generic.KeyValuePair<string,string?> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<string, string> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<string, string> -> bool
Public Function Contains (item As KeyValuePair(Of String, String)) As Boolean
參數
- item
- KeyValuePair<String,String>