ListFolders Method
Lists the folders found in the parent folder.
Syntax
void __fastcall ListFolders(String parentFolderId);
Remarks
This method lists the folders found in the parent folder. This method clears populates the Folder* properties.
Set parentFolderId to be an empty string to list all folders in the root folder.
If the number of folders is greater than the folder page size, ListFoldersMarker will be populated and calling ListFolders again will list the next page of folders.
Example (List All Folders in the Root Folder)
office365.ListFolders("");