MessageQueryTable<TItem>.Contains Метод

Определение

Определяет, содержит ли коллекция определенный элемент в формате структуры «ключ-значение».

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

Параметры

item
KeyValuePair<MessageQuery,TItem>

Ключ искомого объекта.

Возвращаемое значение

Значение Booleantrue, если элемент найден в коллекции. В противном случае значение false.

Реализации

Применяется к