Compartir vía


ExpandoObject.ICollection<KeyValuePair<String,Object>>.Contains Método

Definición

Determina si ICollection<T> contiene una clave y un valor específicos.

 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

Parámetros

item
KeyValuePair<String,Object>

Estructura KeyValuePair<TKey,TValue> que se va a buscar en ICollection<T>.

Devoluciones

true si la colección contiene un valor y una clave específicos; de lo contrario, false.

Implementaciones

Se aplica a