Share via


_PostItem.SenderName Property

Returns a String (string in C#) indicating the display name of the sender for the Outlook item. Read-only.

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

Syntax

'Declaration
ReadOnly Property SenderName As String
    Get
'Usage
Dim instance As _PostItem
Dim value As String

value = instance.SenderName
string SenderName { get; }

Property Value

Type: System.String

Remarks

This property corresponds to the MAPI property PR_SENDER_NAME.

If you wish to retrieve the fully qualified e-mail address of the sender, use the SenderEmailAddress property.

See Also

Reference

_PostItem Interface

_PostItem Members

Microsoft.Office.Interop.Outlook Namespace