Methods | ScriptUtil.RetrieveDelimitedFileHeaders Method
Gets the header row from a delimited (i.e. csv, dat) based text file.
Syntax
C# Copy
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.