共用方式為


XPathMessageFilterTable<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> 資料表中尋找的 。

傳回

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

實作

備註

如果找到篩選條件,但其對應至不同的資料,這個方法便會傳回 false

適用於