PersonalStorageCreatePredefinedFolder Method (String, StandardIpmFolder, Boolean)

Creates the standard interpersonal message (IPM) folder.

Namespace:  Aspose.Email.Storage.Pst
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public FolderInfo CreatePredefinedFolder(
	string name,
	StandardIpmFolder defaultFolder,
	bool createHierarchy
)

Parameters

name
Type: SystemString
The name of folder.
defaultFolder
Type: Aspose.Email.Storage.PstStandardIpmFolder
The value of StandardIpmFolder enumeration.
createHierarchy
Type: SystemBoolean
if set to true, it is possible to create a folder hierarchy using string notation. Backslash ('\') is used as path separator.

Return Value

Type: FolderInfo
A FolderInfo object that represents a standard IPM folder.
See Also