_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
<DispIdAttribute()> _
Property SentOnBehalfOfName As String
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As String

value = instance.SentOnBehalfOfName

instance.SentOnBehalfOfName = value
[DispIdAttribute()]
string SentOnBehalfOfName { get; set; }

Property Value

Type: System.String

Remarks

This property corresponds to the MAPI property PidTagSentRepresentingName.

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace