MessageQueryTable<TItem>.ContainsKey(MessageQuery) 方法

定义

确定集合是否包含具有指定键的元素。

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

参数

key
MessageQuery

要定位的键。

返回

Boolean

Boolean如果集合中包含具有键的元素,则为 true;否则为 false

实现

适用于