StdfTableReaderTryParseFormatHeader Method

Spotfire 14.4 API Reference
Given an input stream, this method tries to parse the first line 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: 66.0.19621.1485 (66.0.19621.1485)
Syntax

C#
public static bool TryParseFormatHeader(
	TextReader reader
)

Parameters

reader
Type: System.IOTextReader
The input provider.

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: 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference