ItemParentId Property
The id of the parent item.
Syntax
ANSI (Cross Platform)
char* GetItemParentId(int iItemIndex);
int SetItemParentId(int iItemIndex, const char* lpszItemParentId);
Unicode (Windows)
LPWSTR GetItemParentId(INT iItemIndex);
INT SetItemParentId(INT iItemIndex, LPCWSTR lpszItemParentId);
- (NSString*)itemParentId:(int)itemIndex;
- (void)setItemParentId:(int)itemIndex:(NSString*)newItemParentId;
#define PID_SHAREFILE_ITEMPARENTID 42
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_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
The id of the parent item.
This property specifies the id of the parent item. For example, if the current item is a file in the exampleFolder folder then the ParentId will be the id of the exampleFolder item.
To modify this property see UpdateItemInfo.
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 not available at design time.
Data Type
String