FileInformation.FileWritingFormat
- Updated2025-07-21
- 1 minute(s) read
FileInformation.FileWritingFormat
Syntax
FileInformation.FileWritingFormat
Data Type
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.
- 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
Returns the format in which TestStand wrote a property object file, such as binary, INI, or XML.
Remarks
This method is valid only for native TestStand files. Use the FileInformation.IsPropertyObjectFile property to determine whether you can safely access this property.
This property throws an exception if TestStand cannot locate the file when it is first accessed. Use the FileInformation.FileExists property to determine whether the file is available.