System.Messaging Reference (Document! X Sample)
AttachSenderId Property (DefaultPropertiesToSend)



System.Messaging Namespace > DefaultPropertiesToSend Class : AttachSenderId Property
Gets or sets a value that indicates whether the sender ID should be attached to the message.
Syntax
'Declaration
 
Public Property AttachSenderId As Boolean
'Usage
 
Dim instance As DefaultPropertiesToSend
Dim value As Boolean
 
instance.AttachSenderId = value
 
value = instance.AttachSenderId
public bool AttachSenderId {get; set;}
public:
property bool AttachSenderId {
   bool get();
   void set (    bool value);
}

Property Value

true if sender ID should be attached to the message; otherwise, false. The default is true.
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

Reference

DefaultPropertiesToSend Class
DefaultPropertiesToSend Members