IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

ItemSize Property

The size of the item.

Syntax

ANSI (Cross Platform)
int64 GetItemSize(int iItemIndex);

Unicode (Windows)
LONG64 GetItemSize(INT iItemIndex);
- (long long)itemSize:(int)itemIndex;
#define PID_SHAREFILE_ITEMSIZE 44

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

IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

The size of the item.

The property specifies the size of the item. If the item is a file then the size will be in KB and contain the size of the file. If the item is a folder then it will be the size of the children items, recursively.

The ItemIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ItemCount property.

This property is read-only and not available at design time.

Data Type

Long64

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