System.Messaging Reference (Document! X Sample)



Label Property (DefaultPropertiesToSend)
Gets or sets an application-defined string that describes the message.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<MessagingDescriptionAttribute("Specifies the label of the message.")>
Public Property Label As String
'Usage
 
Dim instance As DefaultPropertiesToSend
Dim value As String
 
instance.Label = value
 
value = instance.Label
[DefaultValue()]
[MessagingDescription("Specifies the label of the message.")]
public string Label {get; set;}
[DefaultValue()]
[MessagingDescription("Specifies the label of the message.")]
public:
property String^ Label {
   String^ get();
   void set (    String^ value);
}

Property Value

The label of the message. The default is an empty string ("").
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also