Engine.GetFileInformation

Syntax

Engine.GetFileInformation( path)

Return Value

FileInformation

Returns a new FileInformation object.

Purpose

Creates and returns a reference to a new FileInformation object you use to retrieve information about a specified file, such as file version, file format version and whether it is a Sequence File or a custom format file.

Remarks

TestStand does not access the file you specify when it calls this method. TestStand accesses the file when you call the properties and methods on the FileInformation object. Thus, TestStand returns a new FileInformation object when the file does not exist at the specified path. Calling methods or properties on a FileInformation object might throw an exception if the file cannot be located. To verify that the file exists on disk and is accessible at the given path, use the FileInformation.FileExists property.

Parameters

path As String

[In] Specifies the absolute pathname of the file.

See Also

FileInformation

FileInformation.FileExists