ResourceData Property
The data that was downloaded, or that should be uploaded.
Syntax
ANSI (Cross Platform) int GetResourceData(char* &lpResourceData, int &lenResourceData);
int SetResourceData(const char* lpResourceData, int lenResourceData); Unicode (Windows) INT GetResourceData(LPSTR &lpResourceData, INT &lenResourceData);
INT SetResourceData(LPCSTR lpResourceData, INT lenResourceData);
@property (nonatomic,readwrite,assign,getter=resourceData,setter=setResourceData:) NSString* resourceData; - (NSString*)resourceData; - (void)setResourceData:(NSString*)newResourceData;
@property (nonatomic,readwrite,assign,getter=resourceDataB,setter=setResourceDataB:) NSData* resourceDataB; - (NSData*)resourceDataB; - (void)setResourceDataB:(NSData*)newResourceData;
#define PID_ONEDRIVE_RESOURCEDATA 49 IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_OneDrive_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_OneDrive_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