Partager via


_Account.DisplayName Property

Returns a String (string in C#) representing the display name of the e-mail Account. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property DisplayName As String
    Get
'Usage
Dim instance As _Account
Dim value As String

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

Property Value

Type: System.String

Remarks

DisplayName is the default property of the Account object.

See Also

Reference

_Account Interface

_Account Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get Account Information