MessageProperties.Add(String, Object) MessageProperties.Add(String, Object) MessageProperties.Add(String, Object) MessageProperties.Add(String, Object) Method

Definition

Adds an element with the specified name and property into the MessageProperties collection.

public:
 virtual void Add(System::String ^ name, System::Object ^ property);
public void Add (string name, object property);
abstract member Add : string * obj -> unit
override this.Add : string * obj -> unit
Public Sub Add (name As String, property As Object)

Parameters

name
String String String String

The name of the element to add.

property
Object Object Object Object

The value of the element to add.

Implements

Applies to