FileInformation.PropertyObjectFileType

Syntax

FileInformation.PropertyObjectFileType

Data Type

PropertyObjectFileTypes

Use the following constants with this data type:

  • FileType_AdaptersConfigFile –(Value: 11) An adapters configuration file.
  • FileType_ConfigFile –(Value: 0) The Engine.ConfigFile file.
  • FileType_CustomConfigFile –(Value: 13) A custom configuration file.
  • FileType_GeneralEngineConfigFile –(Value: 9) A general engine configuration file.
  • FileType_ProjectFile –(Value: 6) A TestStand project file.
  • FileType_PropertyObjectFile –(Value: 7) A generic PropertyObjectFile.
  • FileType_SearchDirectoriesConfigFile –(Value: 10) A search directories configuration file.
  • FileType_SequenceFile –(Value: 1) A sequence file.
  • FileType_StationGlobalsFile –(Value: 3) The Engine.GlobalsFile file.
  • FileType_TemplatesFile –(Value: 8) The Engine.GetTemplatesFile file.
  • FileType_TypePaletteFile –(Value: 2) A type palette file.
  • FileType_TypePalettesConfigFile –(Value: 12) A type palettes configuration file.
  • FileType_UsersFile –(Value: 4) The Engine.UsersFile file.
  • FileType_WorkspaceFile –(Value: 5) A WorkspaceFile file.

Purpose

Returns the file type of the file.

Remarks

Use this property to determine the type of file to create before using the PropertyObjectFile.ReadFile method.

This property returns an error if TestStand cannot locate the file when it is first accessed or if the file is not a PropertyObjectFile . Use the FileInformation.FileExists property to determine if the file is available and the FileInformation.IsPropertyObjectFile property to determine if the file is a PropertyObjectFile .

See Also

Engine.NewPropertyObjectFile

Engine.ReadPropertyObjectFile

FileInformation.FileExists

FileInformation.IsPropertyObjectFile

PropertyObjectFile

PropertyObjectFile.ReadFile