GetOption

Gets the value of the option entity identified by name in the option section of the message. Option entities include the service-specific runtime options, such as output casing, output data format, and so on.

Syntax

Function getOption(name As String) As String 

Parameters

  • Name — the name whose associated value is to be returned

Results

  • String — the value of the named entity or empty string if the named entity does not exist.

Example

Dim msg As New G1CLIENTLib.Message
Dim optionValue As String

OptionValue = msg.getOption("OutputCasing")