MessageType.Sender Property

The Sender property gets or sets the sender of a message. This property is optional. This is a read/write property.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
Public Property Sender As SingleRecipientType
public SingleRecipientType Sender { get; set; }
public:
property SingleRecipientType^ Sender {
    SingleRecipientType^ get ();
    void set (SingleRecipientType^ value);
}
/** @property */
public SingleRecipientType get_Sender ()

/** @property */
public void set_Sender (SingleRecipientType value)
public function get Sender () : SingleRecipientType

public function set Sender (value : SingleRecipientType)

Property Value

The Sender property returns a SingleRecipientType object. Only the Name property is returned in a FindItem call. The EmailAddress property is not returned in a FindItem call.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)