 | CLSTLoadFile Method |
Set up a list from a list file.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void LoadFile(
string file
)
public void LoadFile(
string file
)
Public Sub LoadFile (
file As String
)
Public Sub LoadFile (
file As String
)
public:
void LoadFile(
String^ file
)
public:
void LoadFile(
String^ file
)
member LoadFile :
file : string -> unit
member LoadFile :
file : string -> unit
Parameters
- file
- Type: SystemString
Name of the file
Remarks
A list file is an ASCII file that contains list entries.
Each line for the file contains a list item name and an
optional list item value. The name and value must be
delimited by a space, tab or comma.
If the item name or value contains spaces, tabs or commas,
it must be contined in quotes.
blank lines and lines that begin with a '/' character are
ignored.
The default extension is .lst. If the file cannot
be found in the local directory, the GEOSOFT\etc directory
is searched.
If it cannot be found, the list will be
empty. Not finding a file is not an error.
See Also