Dela via


MessageType.From Property

The From property gets or sets the addressee from whom the message was sent. This property is optional. This is a read/write property.

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

Syntax

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

/** @property */
public void set_From (SingleRecipientType value)
public function get From () : SingleRecipientType

public function set From (value : SingleRecipientType)

Property Value

The From property returns a SingleRecipientType that represents the addressee from whom the message was sent. 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)