Gets the list of subfolders in the specified folder.
public FolderCollection ListFolders(
string folder
)
Public Function ListFolders( _
ByVal folder As String _
) As FolderCollection
public:
FolderCollection ListFolders(
String^ folder
);
Parameters
- folder
- 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.