WorkspaceObject.NewFile

Syntax

WorkspaceObject.NewFile( path)

Return Value

WorkspaceObject

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.

See Also

WorkspaceObject

WorkspaceObject.InsertObject

WorkspaceObject.NewFolder

WorkspaceObject.ObjectType