IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

ResourceExportExtension Property

The file extension of the file format that the file resource will be exported as.

Syntax

ANSI (Cross Platform)
char* GetResourceExportExtension(int iResourceIndex);

Unicode (Windows)
LPWSTR GetResourceExportExtension(INT iResourceIndex);
- (NSString*)resourceExportExtension:(int)resourceIndex;
#define PID_DROPBOX_RESOURCEEXPORTEXTENSION 51

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_Dropbox_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_Dropbox_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

The file extension of the file format that the file resource will be exported as.

Some file resources are "export-only"; i.e., they're stored in Dropbox using a server-only file format, and get exported to a "normal" file format when DownloadFile is called. For export-only file resources, this property reflects the file extension of the export file format; it is empty for all other resources.

When downloading an export-only file resource to a LocalFile, the class will automatically append the file extension reflected by this property, if necessary.

The ResourceIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ResourceCount property.

This property is read-only and not available at design time.

Data Type

String

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