Partager via


_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)

Syntax

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

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

Property Value

Type: System.String

Remarks

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

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Outlook Namespace