ListResources Method
Lists the files and folders for the current user.
Syntax
[VB.NET] Public Sub ListResources()
[C#] public void ListResources();
Remarks
This method lists all files and folders for the current user. After this method returns the Resource* properties will be populated with information about the files and folders.
Set ResourceIndex to a value from 0 to ResourceCount - 1 to select a resource.
Google treats files and folders in the same way. Folders are included when listing files with ListResources. The ResourceType property can be used to determine if a file is a folder or a file. To list, delete, or update a folder use the ListResources, DeleteResource, and UpdateResource methods.
By default both files and folders are returned. To list only folders set the IncludeFiles configuration setting to False.
NOTE: This method has a corresponding asynchronous version (ListResourcesAsync) for use in the WinRT environment.