 | CSYSIiGlobal Method (CGXNETCore, String, String) |
Get a global parameter setting.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static int IiGlobal(
CGXNETCore gxNetShared,
string parm,
ref string setting
)
public static int IiGlobal(
CGXNETCore gxNetShared,
string parm,
ref string setting
)
Public Shared Function IiGlobal (
gxNetShared As CGXNETCore,
parm As String,
ByRef setting As String
) As Integer
Public Shared Function IiGlobal (
gxNetShared As CGXNETCore,
parm As String,
ByRef setting As String
) As Integer
public:
static int IiGlobal(
CGXNETCore^ gxNetShared,
String^ parm,
String^% setting
)
public:
static int IiGlobal(
CGXNETCore^ gxNetShared,
String^ parm,
String^% setting
)
static member IiGlobal :
gxNetShared : CGXNETCore *
parm : string *
setting : string byref -> int
static member IiGlobal :
gxNetShared : CGXNETCore *
parm : string *
setting : string byref -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - parm
- Type: SystemString
Name of the Parameter - setting
- Type: SystemString
Setting returned
Return Value
Type:
Int32
0 if parameter found.
1 if parameter not found or not set.
Remarks
The returned string will be empty if the parameter is
not found.
Parameters are derived from GEOSOFT.INI.
This is a standard Windows style INI
file that contains [GROUPS], PARAMETERS and SETTINGS
as follows
[GROUP1]
PARAM1=setting1
PARAM2 setting2
PARAM3 "setting3 is text"
To retrieve an entry, specify the group.parameter. For
example, iGlobal_SYS("GROUP1.PARAM3",sSetting) will
retrieve the string "setting is text". The double
quotes will not appear in the setting.
See Also