Click or drag to resize

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
Syntax
public void LoadFile(
	string file
)

public void LoadFile(
	string file
)

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