Store.GetSpecialFolder method (Outlook)
Returns a Folder object for a special folder specified by FolderType in a given store.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.