IPWorks Cloud 2020 .NET Edition

Questions / Feedback?

DriveList Event

Fires once for each drive returned when listing drives.

Syntax

public event OnDriveListHandler OnDriveList;

public delegate void OnDriveListHandler(object sender, OnedriveDriveListEventArgs e);

public class OnedriveDriveListEventArgs : EventArgs {
  public string Id { get; }
  public string Name { get; }
  public string Description { get; }
  public int DriveType { get; }
  public string OwnerId { get; }
  public string OwnerName { get; }
}
Public Event OnDriveList As OnDriveListHandler

Public Delegate Sub OnDriveListHandler(sender As Object, e As OnedriveDriveListEventArgs)

Public Class OnedriveDriveListEventArgs Inherits EventArgs
  Public ReadOnly Property Id As String
  Public ReadOnly Property Name As String
  Public ReadOnly Property Description As String
  Public ReadOnly Property DriveType As Integer
  Public ReadOnly Property OwnerId As String
  Public ReadOnly Property OwnerName As String
End Class

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 .NET Edition - Version 20.0 [Build 8265]