DriveList Event
Fires once for each drive returned when listing drives.
Syntax
typedef struct { String Id; String Name; String Description; int DriveType; String OwnerId; String OwnerName; } TicsOneDriveDriveListEventParams; typedef void __fastcall (__closure *TicsOneDriveDriveListEvent)(System::TObject* Sender, TicsOneDriveDriveListEventParams *e); __property TicsOneDriveDriveListEvent OnDriveList = { read=FOnDriveList, write=FOnDriveList };
Remarks
This event fires once for each drives returned when ListDrives or GetDriveInfo is called.
Id is the Id of the drive.
Name is the name of the drive.
Description holds the description of the drive.
DriveType reflects the drive's type. Possible values are:
0 (oddtPersonal) | A OneDrive Personal drive. |
1 (oddtBusiness) | A OneDrive for Business drive. |
2 (oddtDocumentLibrary) | A SharePoint Online document library. |
OwnerId is the Id of the drive's owner.
OwnerName is the name of the drive's owner.