IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

ItemData Property

The data that was downloaded, or that should be uploaded by the class.

Syntax

ANSI (Cross Platform)
int GetItemData(char* &lpItemData, int &lenItemData);
int SetItemData(const char* lpItemData, int lenItemData); Unicode (Windows) INT GetItemData(LPSTR &lpItemData, INT &lenItemData);
INT SetItemData(LPCSTR lpItemData, INT lenItemData);
@property (nonatomic,readwrite,assign,getter=itemData,setter=setItemData:) NSString* itemData;
- (NSString*)itemData;
- (void)setItemData:(NSString*)newItemData;

@property (nonatomic,readwrite,assign,getter=itemDataB,setter=setItemDataB:) NSData* itemDataB; - (NSData*)itemDataB; - (void)setItemDataB:(NSData*)newItemData;
#define PID_SHAREFILE_ITEMDATA 33

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);

Default Value

""

Remarks

This property is populated with file data after calling DownloadFile if SetDownloadStream and LocalFile are not set.

This property can also be set before calling UploadFile; its data will be uploaded if SetUploadStream and LocalFile are not set.

This property is not available at design time.

Data Type

Binary String

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