_Explorer.CurrentFolder Property

Returns or sets a Folder object that represents the current folder displayed in the explorer. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property CurrentFolder As MAPIFolder
    Get
    Set
'Usage
Dim instance As _Explorer
Dim value As MAPIFolder

value = instance.CurrentFolder

instance.CurrentFolder = value
[DispIdAttribute()]
MAPIFolder CurrentFolder { get; set; }

Property Value

Type: Microsoft.Office.Interop.Outlook.MAPIFolder

Remarks

Use this property to change the folder the user is viewing.

See Also

Reference

_Explorer Interface

_Explorer Members

Microsoft.Office.Interop.Outlook Namespace