OutputFile Property
The path to a local file where the output will be written.
Syntax
ANSI (Cross Platform) char* GetOutputFile();
int SetOutputFile(const char* lpszOutputFile); Unicode (Windows) LPWSTR GetOutputFile();
INT SetOutputFile(LPCWSTR lpszOutputFile);
@property (nonatomic,readwrite,assign,getter=outputFile,setter=setOutputFile:) NSString* outputFile; - (NSString*)outputFile; - (void)setOutputFile:(NSString*)newOutputFile;
#define PID_JSON_OUTPUTFILE 5 IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_JSON_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_JSON_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property specifies the file to which the output will be written. This may be set to an absolute or relative path.
Output Properties
The class will determine the destination of the output based on which properties are set.
The order in which the output properties are checked is as follows:
- OutputFile
- OutputData: The output data is written to this property if no other destination is specified.
Data Type
String