Поделиться через


ModelItemDictionary.ICollection<KeyValuePair<ModelItem,ModelItem>>.Contains Метод

Определение

Определяет, содержит ли словарь данную пару «ключ-значение».

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem>>.Contains(System::Collections::Generic::KeyValuePair<System::Activities::Presentation::Model::ModelItem ^, System::Activities::Presentation::Model::ModelItem ^> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::Activities::Presentation::Model::ModelItem ^, System::Activities::Presentation::Model::ModelItem ^>>::Contains;
bool ICollection<KeyValuePair<ModelItem,ModelItem>>.Contains (System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem>>.Contains : System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem, System.Activities.Presentation.Model.ModelItem> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem,System.Activities.Presentation.Model.ModelItem>>.Contains : System.Collections.Generic.KeyValuePair<System.Activities.Presentation.Model.ModelItem, System.Activities.Presentation.Model.ModelItem> -> bool
Function Contains (item As KeyValuePair(Of ModelItem, ModelItem)) As Boolean Implements ICollection(Of KeyValuePair(Of ModelItem, ModelItem)).Contains

Параметры

item
KeyValuePair<ModelItem,ModelItem>

Пара «ключ-значение», которую необходимо найти.

Возвращаемое значение

Значение true, если словарь содержит данную пару "ключ-значение"; в противном случае — значение false.

Реализации

Применяется к