MessageProperties.ContainsKey(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷 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的名稱、鍵或識別碼。
傳回
true若 包含MessageProperties一個元素,且 name;否則,。 false