PutOption
Sets the value for the given name in the option properties. If there is an existing value present for the entity identified by the name, it is replaced. Option properties are the service-specific run-time options.
Syntax
void putOption(const char* name, const char* value)
void putOption(const UnicodeString name, const UnicodeString value)
Parameters
- Name with which the specified value is to be associated
- Value to be associated with the specified name
Example
message->putOption("OutputCasing", "M");
Same as ASCII or:
UnicodeString option="M"; // Or input unicode string
message->putOption("OutputCasing", option);