ResourceList Event
Fired for each resource listed.
Syntax
Sub onedrivecontrol_ResourceList(Id As String, Name As String, Description As String, ResourceType As Integer, ModifiedDate As String, Size As Long64)Remarks
This event fires with information about each resource listed when calling ListResources, GetResourceInfo, and Search.
Id is the Id of the resource.
Name is the name of the resource.
Description is a short description of the resource.
ResourceType indicates whether the resource is a file or folder. Possible value are:
0 | File |
1 | Folder |
Size holds the size of the current resource in bytes. If the current resource is a folder this returns the total size of all files in the folder and sub-folders.