Gets the list of subfolders in the specified folder.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Function GetFolderList ( _
	folder As String _
) As ImapFolderCollection
C#
public ImapFolderCollection GetFolderList(
	string folder
)

Parameters

folder
Type: System..::..String
The path to folder for which a list of subfolders is returned.

Return Value

A list of subfolders.

Remarks

To get a list of root subfolders, use an empty string for folder.

This method represents IMAP LIST and LSUB commands.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also