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: 7.6.1.3-5cb5c356
Syntax
C#
public static string[] RetrieveDelimitedFileHeaders(
	ScriptContainer container,
	string delimitedFilePath
)

Parameters

container
Type: Compiled.EDD.ScriptingScriptContainer
Provide the executing script container.
delimitedFilePath
Type: SystemString
Provide the path to the delimited text file.

Return Value

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