Share via


_NameSpace.CurrentProfileName Property

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

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

Syntax

'Declaration
ReadOnly Property CurrentProfileName As String
    Get
'Usage
Dim instance As _NameSpace
Dim value As String

value = instance.CurrentProfileName
string CurrentProfileName { get; }

Property Value

Type: System.String

Remarks

You assign a profile name when you create a profile.

CurrentProfileName maps to the MAPI property PR_PROFILE_NAME.

See Also

Reference

_NameSpace Interface

_NameSpace Members

Microsoft.Office.Interop.Outlook Namespace