ResourceType Property
The resource type.
Syntax
ANSI (Cross Platform) int GetResourceType(int iResourceIndex); Unicode (Windows) INT GetResourceType(INT iResourceIndex);
Possible Values
HRT_FILE(0),
HRT_DIRECTORY(1),
HRT_SYM_LINK(2)
- (int)resourceType:(int)resourceIndex;
Possible Values
HRT_FILE(0),
HRT_DIRECTORY(1),
HRT_SYM_LINK(2)
#define PID_HADOOPDFS_RESOURCETYPE 56 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_HadoopDFS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_HadoopDFS_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
The resource type.
This property reflects the resource's type. Possible values are:
0 (hrtFile) | A file. |
1 (hrtDirectory) | A directory. |
2 (hrtSymLink) | A symlink. |
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