FolderInfoAddSubFolder Method (String)

Adds the new sub-folder.

Namespace:  Aspose.Email.Storage.Pst
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public FolderInfo AddSubFolder(
	string name
)

Parameters

name
Type: SystemString
The name of sub-folder.

Return Value

Type: FolderInfo
The new sub-folder.
Exceptions
ExceptionCondition
NotImplementedException throws, if a PST file version is ANSI.
ArgumentNullException throws, if a sub-folder name is null or empty.
InvalidOperationException throws, if a PST is open for reading only.
See Also