Partager via


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
Public Property ToRecipients As EmailAddressType()
    Get
    Set
'Usage
Dim instance As MessageType
Dim value As EmailAddressType()

value = instance.ToRecipients

instance.ToRecipients = value
public EmailAddressType[] ToRecipients { get; set; }

Property Value

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