편집

다음을 통해 공유


_Store.GetSpecialFolder(OlSpecialFolders) Method

Definition

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

public:
 Microsoft::Office::Interop::Outlook::MAPIFolder ^ GetSpecialFolder(Microsoft::Office::Interop::Outlook::OlSpecialFolders FolderType);
public Microsoft.Office.Interop.Outlook.MAPIFolder GetSpecialFolder (Microsoft.Office.Interop.Outlook.OlSpecialFolders FolderType);
Public Function GetSpecialFolder (FolderType As OlSpecialFolders) As MAPIFolder

Parameters

FolderType
OlSpecialFolders

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

Returns

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, Nothing (a null reference (Nothing in Visual Basic) in C#) will be returned.

Applies to