Partager via


_SharingItem.To Property

Returns or sets a semicolon-delimited String (string in C#) list of display names for the To recipients for the SharingItem. 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 _SharingItem
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

_SharingItem Interface

_SharingItem Members

Microsoft.Office.Interop.Outlook Namespace