OpenWorkspaceFile Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Engine.OpenWorkspaceFile ( workspaceFilePath, options = OpenWorkspaceFile_NoOptions, handlerType = ConflictHandler_Error)

Return Value

WorkspaceFile

Purpose

Returns the WorkspaceFile object for the workspace file the workspaceFilePath parameter specifies.

Remarks

Reads the workspace file from disk. The path must be an absolute path. If the path is not absolute, TestStand raises an exception when trying to read the workspace file.

Parameters

workspaceFilePath As String

[In] Specifies the absolute pathname of the workspace file.

options As Long

[In] Specify one or more OpenWorkspaceFileOptions constants. Use the bitwise-OR operator to specify more than one option.

This parameter has a default value of OpenWorkspaceFile_NoOptions.

handlerType As TypeConflictHandlerTypes

[In] Specifies how to handle type conflicts.

This parameter has a default value of ConflictHandler_Error.


See Also

Engine.CurrentWorkspaceFile

Engine.NewWorkspaceFile

OpenWorkspaceFileOptions

TypeConflictHandlerTypes

WorkspaceFile

WAS THIS ARTICLE HELPFUL?

Not Helpful