ExpandoObject.ICollection<KeyValuePair<String,Object>>.Contains Метод

Определение

Определяет, содержит ли ICollection<T> определенный ключ и значение.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::Contains;
bool ICollection<KeyValuePair<string,object>>.Contains(System.Collections.Generic.KeyValuePair<string,object> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
Function Contains (item As KeyValuePair(Of String, Object)) As Boolean Implements ICollection(Of KeyValuePair(Of String, Object)).Contains

Параметры

item
KeyValuePair<String,Object>

Структура KeyValuePair<TKey,TValue> , которая будет находиться в объекте ICollection<T>.

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

true Значение , если коллекция содержит определенный ключ и значение; falseв противном случае .

Реализации

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