Click or drag to resize

ScriptUtilRetrieveDelimitedFileHeaders Method

Gets the header row from a delimited (i.e. csv, dat) based text file.

Namespace: Compiled.EDD.Scripting
Assembly: Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 9.0.0.0-142fa9725
Syntax
C#
public static string[] RetrieveDelimitedFileHeaders(
	ScriptContainer container,
	string delimitedFilePath
)

Parameters

container  ScriptContainer
Provide the executing script container.
delimitedFilePath  String
Provide the path to the delimited text file.

Return Value

String
A string array containing the fields in order; otherwise, null.
See Also