HttpRequestOptions.ICollection<KeyValuePair<String,Object>>.Contains Metoda

Definicja

Określa, czy element ICollection<T> zawiera określoną wartość.

 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

Parametry

item
KeyValuePair<String,Object>

Obiekt do zlokalizowania w obiekcie ICollection<T>.

Zwraca

truejeśli item zostanie znaleziony w elemecie ICollection<T>; w przeciwnym razie . false

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy HttpRequestOptions wystąpienie jest rzutowe do interfejsu ICollection<T> .

Dotyczy