MessageProperties.Remove(String) Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the element with the specified name from the 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
	Parameters
- name
 - String
 
The name of the element to remove.
Returns
true if the MessageProperties contains an element with the specified name and can be removed; otherwise, false.