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

ResourceType Property

Indicates whether the current entry is a folder or a file.

Syntax

[VB.NET]
Public ReadOnlyProperty ResourceType As GdriveResourceTypes

[C#]
public GdriveResourceTypes ResourceType {get;}

enum GdriveResourceTypes { gdrtFile, gdrtFolder }

Remarks

This property indicates whether the current entry specified by ResourceIndex is a folder or a file.

Possible values are:

0 (gdrtFile) A file.
1 (gdrtFolder) A folder.

Google treats files and folders in the same way. Folders are included when listing files with ListResources. The ResourceType property can be used to determine if a file is a folder or a file. To list, delete, or update a folder use the ListResources, DeleteResource, and UpdateResource methods.

This property is read-only and not available at design time.

Default Value

0

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