共用方式為


MessageFilterTable<TFilterData>.Contains 方法

定義

判斷篩選資料表是否包含指定的篩選條件及其相關聯的 FilterData

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

參數

item
KeyValuePair<MessageFilter,TFilterData>

KeyValuePair<TKey,TValue>FilterData<MessageFilter> 要尋找在資料表中。

傳回

如果 filter/FilterData 組有包含在篩選資料表中,則為 true;否則為 false

實作

備註

這個方法會實作 ContainsICollection<T> 方法。

適用於