DefaultProfileName Property
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

_Application.DefaultProfileName Property

Returns a String (string in C#) representing the name of the default profile name. Read-only.

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

[DispIdAttribute()]
string DefaultProfileName { get; }

Property Value

Type: System.String

Returns an empty string if no profile has been configured or if there is no default profile for Outlook.

Show:
© 2016 Microsoft