MessageProperties.ContainsKey(String) 方法

定義

判斷 MessageProperties 是否包含特定名稱、索引鍵或識別項。

public:
 virtual bool ContainsKey(System::String ^ name);
public bool ContainsKey (string name);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Function ContainsKey (name As String) As Boolean

參數

name
String

要在MessageProperties中找到的名稱、 索引鍵或識別項。

傳回

Boolean

如果 true 包含具有指定 MessageProperties 的項目,則為 name,否則為 false

實作

適用於