Partager 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
<DispIdAttribute()> _
ReadOnly Property CurrentProfileName As String
    Get
'Usage
Dim instance As _NameSpace
Dim value As String

value = instance.CurrentProfileName
[DispIdAttribute()]
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 PidTagProfileName.

See Also

Reference

_NameSpace Interface

_NameSpace Members

Microsoft.Office.Interop.Outlook Namespace