MessageQueryTable<TItem>.Contains Methode

Definition

Bestimmt, ob die Auflistung ein bestimmtes Element enthält, das als Schlüssel-/Wertstruktur formatiert ist.

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

Parameter

item
KeyValuePair<MessageQuery,TItem>

Der Schlüssel des zu suchenden Objekts.

Gibt zurück

Boolean truewenn das Element in der Sammlung gefunden wird; andernfalls . false

Implementiert

Gilt für: