StdfTableReaderTryParseHeaderLine Method TIBCO Spotfire 7.11 API Reference
Given a file path, this method tries to parse the first line of the file as an STDF file header.

Namespace: Spotfire.Dxp.Data.Formats.Stdf
Assembly: Spotfire.Dxp.Data.Formats.Stdf (in Spotfire.Dxp.Data.Formats.Stdf.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
Syntax

C#
public static bool TryParseHeaderLine(
	string filePath
)

Parameters

filePath
Type: SystemString
The file path.

Return Value

Type: Boolean
True if the file starts with an STDF header; otherwise, false.
Remarks

The method throws exception only in case of I/O problems, and never when there are format issues. The reason is to avoid inconvenient hangs in debugger sessions, when trap on exception is turned on and the application searches for a matching file type.
Version Information

Supported in: 7.9, 7.8, 7.7, 7.6, 7.5, 7.11, 7.10, 7.0
See Also

Reference