ObjectData Property
The data that was downloaded, or that should be uploaded.
Syntax
ANSI (Cross Platform) int GetObjectData(char* &lpObjectData, int &lenObjectData);
int SetObjectData(const char* lpObjectData, int lenObjectData); Unicode (Windows) INT GetObjectData(LPSTR &lpObjectData, INT &lenObjectData);
INT SetObjectData(LPCSTR lpObjectData, INT lenObjectData);
@property (nonatomic,readwrite,assign,getter=objectData,setter=setObjectData:) NSString* objectData; - (NSString*)objectData; - (void)setObjectData:(NSString*)newObjectData;
@property (nonatomic,readwrite,assign,getter=objectDataB,setter=setObjectDataB:) NSData* objectDataB; - (NSData*)objectDataB; - (void)setObjectDataB:(NSData*)newObjectData;
#define PID_S3CLIENT_OBJECTDATA 26 IPWORKSS3_EXTERNAL void* IPWORKSS3_CALL IPWorksS3_S3Client_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSS3_EXTERNAL int IPWORKSS3_CALL IPWorksS3_S3Client_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property is populated with object data after calling GetObject if SetDownloadStream and LocalFile are not set.
This property can also be set before calling CreateObject or UploadPart; its data will be uploaded if SetUploadStream and LocalFile are not set.
This property is not available at design time.
Data Type
Binary String