MessageProperties.Remove(String) 方法

定義

MessageProperties 中移除具有指定之名稱的項目。

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

參數

name
String

要移除的元素名稱。

傳回

如果 MessageProperties 包含具有指定之 name 而且是可移除的項目,則為 true,否則為 false

實作

適用於