IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

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_GOOGLEDRIVE_RESOURCEDATA 76

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_GoogleDrive_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]