ExpandoObject.ICollection<KeyValuePair<String,Object>>.Contains(KeyValuePair<String,Object>) Method

Definition

Определяет, содержит ли коллекция ICollection<T> указанные ключ и значение.Determines whether the ICollection<T> contains a specific key and value.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,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<string,object>>.Contains : System.Collections.Generic.KeyValuePair<string, obj> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,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

Parameters

item
KeyValuePair<String,Object>

Структура KeyValuePair<TKey,TValue>, которую необходимо найти в коллекции ICollection<T>.The KeyValuePair<TKey,TValue> structure to locate in the ICollection<T>.

Returns

Boolean

Значение true, если коллекция содержит указанные ключ и значение; в противном случае — значение false.true if the collection contains a specific key and value; otherwise, false.

Implements

Applies to