EmailAdapter.To Property

Gets or sets the recipients for the e-mail message associated with a specified EmailAdapterObject object.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Property To As String
    Get
    Set
'Usage
Dim instance As EmailAdapter
Dim value As String

value = instance.To

instance.To = value
string To { get; set; }

Property Value

Type: System.String

Remarks

The value must be a semicolon-delimited string that can be resolved into a list of valid e-mail addresses by the user's e-mail client.

Examples

myEmailAdapter.To = "list@example.com";

See Also

Reference

EmailAdapter Interface

EmailAdapter Members

Microsoft.Office.Interop.InfoPath Namespace