MessageType.ToRecipients Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets a collection of recipients of an e-mail message.

Namespace:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.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; }
public:
property array<EmailAddressType^>^ ToRecipients {
    array<EmailAddressType^>^ get ();
    void set (array<EmailAddressType^>^ value);
}
member ToRecipients : EmailAddressType[] with get, set

Property Value

Type: array<Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.EmailAddressType[]
An object that represents the collection of e-mail recipients.

Remarks

This property is required for sending a message.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5

See Also

Reference

MessageType Class

MessageType Members

Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007 Namespace