IPWorks Cloud 2020 .NET Edition

Questions / Feedback?

ChangeList Event

Fires once for each change when ListChanges is called.

Syntax

public event OnChangeListHandler OnChangeList;

public delegate void OnChangeListHandler(object sender, GoogledriveChangeListEventArgs e);

public class GoogledriveChangeListEventArgs : EventArgs {
  public string ResourceId { get; }
  public string SharedDriveId { get; }
  public bool Removed { get; }
  public string Time { get; }
  public int ChangeType { get; }
}
Public Event OnChangeList As OnChangeListHandler

Public Delegate Sub OnChangeListHandler(sender As Object, e As GoogledriveChangeListEventArgs)

Public Class GoogledriveChangeListEventArgs Inherits EventArgs
  Public ReadOnly Property ResourceId As String
  Public ReadOnly Property SharedDriveId As String
  Public ReadOnly Property Removed As Boolean
  Public ReadOnly Property Time As String
  Public ReadOnly Property ChangeType As Integer
End Class

Remarks

This event fires once for each change returned when ListChanges is called.

ResourceId is the Id of the file or folder to which the change applies.

SharedDriveId is the Id of the shared drive associated with the change.

Removed indicates whether the file or shared drive has been removed from the view of the change list. For example, if a file was permanently deleted or access to it was revoked, this would return true (it would still return false if the file was simply in the trash).

Time is a DateTime string representing the time of the change. This is a combined date-time value (formatted according to RFC 3339).

ChangeType indicates whether this is a file (0) or a shared drive (1) change.

Refer to ListChanges for more information.

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