PstReaderGetPstRootFolders Method (Boolean, String)
Gets the list of root folders which are present in the .PST file or stream 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: 11.2.0 build 590 for .NET 4.5
Syntax
public PstFolderCollection GetPstRootFolders(
	bool includeSubFolders,
	string delimiter
)

Parameters

includeSubFolders
Type: SystemBoolean
If true, all subfolders will be included in the resulting list; otherwise, only the top level folders without their own sub-folders.
delimiter
Type: SystemString
The string used to separate levels of hierarchy of folder names.

Return Value

Type: PstFolderCollection
A PstFolderCollection object representing the folder collection.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptiondelimiter is a null reference (Nothing in Visual Basic).
See Also