XPathMessageFilterTable<TFilterData>.ContainsKey(MessageFilter) 方法

定义

确定筛选器表是否包含指定的筛选器。Determines whether the filter table contains a specified filter.

public:
 virtual bool ContainsKey(System::ServiceModel::Dispatcher::MessageFilter ^ filter);
public bool ContainsKey (System.ServiceModel.Dispatcher.MessageFilter filter);
abstract member ContainsKey : System.ServiceModel.Dispatcher.MessageFilter -> bool
override this.ContainsKey : System.ServiceModel.Dispatcher.MessageFilter -> bool
Public Function ContainsKey (filter As MessageFilter) As Boolean

参数

filter
MessageFilter

正在进行测试的 MessageFilterThe MessageFilter being tested for.

返回

如果筛选器表中包含 filter,则为 true;否则为 falsetrue if the filter is contained in the filter table; otherwise false.

实现

注解

此方法实现 ContainsKeyIDictionary<TKey,TValue> 方法。This method implements the ContainsKey method of IDictionary<TKey,TValue>.

适用于