Partager via


Store.GetSpecialFolder Method (Outlook)

Returns a Folder object for a special folder specified by FolderType in a given store.

Version Information

Version Added: Outlook 2007

Syntax

expression .GetSpecialFolder(FolderType)

expression A variable that represents a Store object.

Parameters

Name

Required/Optional

Data Type

Description

FolderType

Required

OlSpecialFolders

A constant in the OlSpecialFolders enumeration that specifies the type of the special folder in the store.

Return Value

A Folder object that represents a special folder specified by the FolderType.

Remarks

Not all special folders exist in all stores. If the requested special folder does not exist, a Null value (Nothing in VB) will be returned.

See Also

Concepts

Store Object Members

Store Object