_MailItem.To Property
Returns or sets a semicolon-delimited String (string in C#) list of display names for the To recipients for the Outlook item. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property To As String
Get
Set
'Usage
Dim instance As _MailItem
Dim value As String
value = instance.To
instance.To = value
[DispIdAttribute()]
string To { get; set; }
Property Value
Type: System.String
Remarks
This property contains the display names only. The To property corresponds to the MAPI property PidTagDisplayTo. The Recipients collection should be used to modify this property.
See Also
Reference
Microsoft.Office.Interop.Outlook Namespace