共用方式為


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

要尋找的索引鍵。

傳回

若集合包含具有索引鍵的項目,則為 Booleantrue;否則為 false

實作

適用於