Edit

Share via


MessageQueryTable<TItem>.Contains Method

Definition

Determines whether the collection contains a specific item formatted as a key/value structure.

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

Parameters

item
KeyValuePair<MessageQuery,TItem>

The key of the object to locate.

Returns

Boolean true if the item is found in the collection; otherwise, false.

Implements

Applies to