System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / DefaultPropertiesToSend Class / Label Property



In This Topic
    Label Property (DefaultPropertiesToSend)
    In This Topic
    Gets or sets an application-defined string that describes the message.
    Syntax
    'Declaration
     
    
    Public Property Label As String
    'Usage
     
    
    Dim instance As DefaultPropertiesToSend
    Dim value As String
     
    instance.Label = value
     
    value = instance.Label
    public string Label {get; set;}
    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