OutputFormat Property
The format of the output data.
Syntax
ANSI (Cross Platform) int GetOutputFormat();
int SetOutputFormat(int iOutputFormat); Unicode (Windows) INT GetOutputFormat();
INT SetOutputFormat(INT iOutputFormat);
Possible Values
TOF_XML(0),
TOF_JSON(1),
TOF_TRADACOMS(4)
@property (nonatomic,readwrite,assign,getter=outputFormat,setter=setOutputFormat:) int outputFormat; - (int)outputFormat; - (void)setOutputFormat:(int)newOutputFormat;
Possible Values
TOF_XML(0),
TOF_JSON(1),
TOF_TRADACOMS(4)
#define PID_TRADACOMSTRANSLATOR_OUTPUTFORMAT 6 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_TRADACOMSTranslator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_TRADACOMSTranslator_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
This property specifies the format of the output data. The value set here, along with InputFormat, determines how the data is converted when Translate is called.
Possible values are:
- 0 (ofXML)
- 1 (ofJSON)
- 4 (ofTRADACOMS)
This property is not available at design time.
Data Type
Integer