Поделиться через


MessageType.ToRecipients Property

The ToRecipients property gets or sets a collection of recipients of an e-mail. This property is required for sending a message. This is a read/write property.

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

Syntax

'Declaration
<XmlArrayItemAttribute("Mailbox", IsNullable:=False)> _
Public Property ToRecipients As EmailAddressType()
[XmlArrayItemAttribute("Mailbox", IsNullable=false)] 
public EmailAddressType[] ToRecipients { get; set; }
[XmlArrayItemAttribute(L"Mailbox", IsNullable=false)] 
public:
property array<EmailAddressType^>^ ToRecipients {
    array<EmailAddressType^>^ get ();
    void set (array<EmailAddressType^>^ value);
}
/** @property */
public EmailAddressType[] get_ToRecipients ()

/** @property */
public void set_ToRecipients (EmailAddressType[] value)
public function get ToRecipients () : EmailAddressType[]

public function set ToRecipients (value : EmailAddressType[])

Property Value

The ToRecipients property returns an EmailAddressType array that contains a set of addresses to which e-mail are sent.

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)