PstFolderGetPstSubFolders Method (Boolean, String)
Gets the list of sub-folders of the given folder with specified delimiter which is used as a hierarchy delimiter of separate levels of folder names.

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public PstFolderCollection GetPstSubFolders(
	bool includeSubFolders,
	string delimiter
)

Parameters

includeSubFolders
Type: SystemBoolean
If true, subfolders from ALL levels will be included in the resulting list; otherwise, only direct child folders of the current level.
delimiter
Type: SystemString
The string used to separate levels of hierarchy of folder names.

Return Value

Type: PstFolderCollection
A PstFolderCollection object containing the sub-folders.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptiondelimiter is a null reference (Nothing in Visual Basic).
See Also