MessageQueryTable<TItem>.Contains Metoda

Definice

Určuje, zda kolekce obsahuje konkrétní položku formátovanou jako struktura klíč/hodnota.

public:
 virtual bool Contains(System::Collections::Generic::KeyValuePair<System::ServiceModel::Dispatcher::MessageQuery ^, TItem> item);
public bool Contains (System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery,TItem> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery, 'Item> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<System.ServiceModel.Dispatcher.MessageQuery, 'Item> -> bool
Public Function Contains (item As KeyValuePair(Of MessageQuery, TItem)) As Boolean

Parametry

item
KeyValuePair<MessageQuery,TItem>

Klíč objektu, který chcete najít.

Návraty

Booleantrueje-li položka nalezena v kolekci; v opačném případě . false

Implementuje

Platí pro