resourceType (property)
The resource's type.
Syntax
- (int)resourceType:(int)resourceIndex;
/* Possible Values */
DRT_FILE(0),
DRT_FOLDER(1)
public func resourceType(resourceIndex: Int32) throws -> DropboxResourceTypes
public enum DropboxResourceTypes : Int32 { case drtFile = 0 case drtFolder = 1 }
Default Value
0
Remarks
The resource's type.
This property indicates whether the resource is a folder or a file. Possible values are:
0 (drtFile) | A file. |
1 (drtFolder) | A folder. |
The ResourceIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ResourceCount property.
This property is read-only.