Click or drag to resize

CLSTLoadCSV Method

Load a list with data from a CSV file

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void LoadCSV(
	string csv,
	string name_field,
	string value_field
)

public void LoadCSV(
	string csv,
	string name_field,
	string value_field
)

Parameters

csv
Type: SystemString
The CSV file
name_field
Type: SystemString
Column label for the item name
value_field
Type: SystemString
Column label for the item value
Remarks
Both the Item and Value fields must be specified. The CSV file must be comma delimited, and have a header line with the field names. Leading and trailing spaces are removed in the names and values.
See Also