WorkspaceObject.NewFile
- Updated2024-10-09
- 1 minute(s) read
WorkspaceObject.NewFile
Syntax
WorkspaceObject.NewFile( path)
Return Value
Purpose
Creates a new WorkspaceObject associated with the specified pathname.
Remarks
Use the WorkspaceObject.InsertObject method to insert the object into the workspace. This method uses the file extension to determine the type of WorkspaceObject.
Parameters
path As String
[In] Specifies the pathname associated with the WorkspaceObject. This pathname can be relative.