SendMailMessage.To Property

Definition

Gets or sets the To address for this e-mail message.

public:
 property cli::array <System::String ^> ^ To { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
public:
 property Platform::Array <Platform::String ^> ^ To { Platform::Array <Platform::String ^> ^ get(); void set(Platform::Array <Platform::String ^> ^ value); };
public string[] To { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string[] To { get; set; }
member this.To : string[] with get, set
[<System.Management.Automation.Parameter(Mandatory=true, Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.To : string[] with get, set
Public Property To As String()

Property Value

String[]
Attributes

Applies to