Home > Working with SGWorld > ISGWorld > GetOptionParam

GetOptionParam

Returns the value of a specified parameter in the TerraExplorer options. Each parameter is accessed by a unique identification string.

 

JavaScript

 

GetOptionParam(

      paramName)

 

C#

 

dynamic GetOptionParam(

      string paramName)

 

C++

 

HRESULT GetOptionParam(

       BSTR paramName,

       VARIANT pVal)

Parameters

paramName

The name of the parameter whose value is being returned.

Return Value

pVal

The parameter value.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.