ResourceType Property
The resource's type.
Syntax
ANSI (Cross Platform) int GetResourceType(int iResourceIndex); Unicode (Windows) INT GetResourceType(INT iResourceIndex);
Possible Values
BRT_FILE(0),
BRT_FOLDER(1)
- (int)resourceType:(int)resourceIndex;
Possible Values
BRT_FILE(0),
BRT_FOLDER(1)
#define PID_BOX_RESOURCETYPE 73 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_Box_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_Box_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
The resource's type.
This property indicates whether the resource is a folder or a file. Possible values are:
0 (brtFile) | A file. |
1 (brtFolder) | 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 and not available at design time.
Data Type
Integer