Share via


_MailItem.SentOnBehalfOfName Property

Returns a String (string in C#) indicating the display name for the intended sender of the mail message. Read/write.

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

Syntax

'Declaration
Property SentOnBehalfOfName As String
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As String

value = instance.SentOnBehalfOfName

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

Property Value

Type: System.String

Remarks

This property corresponds to the MAPI property PR_SENT_REPRESENTING_NAME.

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace