resourceType (property)
The resource's type.
Syntax
- (int)resourceType:(int)resourceIndex;
/* Possible Values */
ODRT_FILE(0),
ODRT_FOLDER(1)
public func resourceType(resourceIndex: Int32) throws -> OnedriveResourceTypes
public enum OnedriveResourceTypes : Int32 { case odrtFile = 0 case odrtFolder = 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 (odrtFile) | A file. |
1 (odrtFolder) | 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.