PropertyObjectFile.FileWritingFormat

Syntax

PropertyObjectFile.FileWritingFormat

Data Type

FileWritingFormats

Use the following constants with this data type:

  • FileWritingFormat_Binary –(Value: 2) Specifies that TestStand writes the file in a binary format. This format is the fastest and most memory-efficient format.
  • FileWritingFormat_Ini –(Value: 1) Specifies that TestStand writes the file in an INI format. This format is used by previous versions of TestStand (3. x or earlier). Use this format when necessary to support existing code that reads the INI file directly.
    Note The INI format is deprecated in TestStand 2019 and may not be supported in future releases.
  • FileWritingFormat_Xml –(Value: 3) Specifies that TestStand writes the file in an XML format. Use this format if you want to read, parse, or create files as XML. This option is the most readable and parseable format.

Purpose

Specifies the format in which TestStand writes the file.

Remarks

Attempting to set to INI (or any other unsupported value) will throw an exception.

See Also

StationOptions.DefaultFileWritingFormat