IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

ResourceType Property

The resource's type.

Syntax

ANSI (Cross Platform)
int GetResourceType(int iResourceIndex);

Unicode (Windows)
INT GetResourceType(INT iResourceIndex);

Possible Values

AFRT_FILE(0), 
AFRT_FOLDER(1)
- (int)resourceType:(int)resourceIndex;

Possible Values

AFRT_FILE(0), 
AFRT_FOLDER(1)
#define PID_AZUREFILE_RESOURCETYPE 47

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_AzureFile_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_AzureFile_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 (afrtFile) A file.
1 (afrtFolder) 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

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 C++ Edition - Version 20.0 [Build 8265]