ModelItemDictionary.Contains(KeyValuePair<ModelItem,ModelItem>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷字典是否包含指定的索引鍵/值組。
protected:
virtual bool Contains(System::Collections::Generic::KeyValuePair<System::Activities::Presentation::Model::ModelItem ^, System::Activities::Presentation::Model::ModelItem ^> item);
protected virtual bool Contains (System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem, System.Activities.Presentation.Model.ModelItem> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem, System.Activities.Presentation.Model.ModelItem> -> bool
Protected Overridable Function Contains (item As KeyValuePair(Of ModelItem, ModelItem)) As Boolean
參數
- item
- KeyValuePair<ModelItem,ModelItem>
要尋找的索引鍵/值組。
傳回
如果字典包含指定的索引鍵/值組,則為 true
;否則為 false
。