Google Integrator V2 - Online Help
Google Integrator V2
Questions / Feedback?

ResourceList Event

Fires once for each resource when ListResources is called.

Syntax

[VB.NET]
Public Event OnResourceList As OnResourceListHandler
[C#]
public event OnResourceListHandler OnResourceList;

public delegate void OnResourceListHandler(object sender, GdriveResourceListEventArgs e);

class GdriveResourceListEventArgs : EventArgs {
  string Id {get;}
  string ETag {get;}
  string Title {get;}
  string Description {get;}
  int ResourceType {get;}
  string Extension {get;}
}

Remarks

This event fires once for each resource returned when ListResources is called.

Id is the Id of the resource.

ETag is the ETag of the resource.

Title holds the resource's title.

Description holds a short description of the resource (if any).

ResourceType identifies if the resource is a file or folder. Possible values are:

0 A file
1 A folder

Extension is the file extension.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 2.0.6240.0