RemoveDocument

Removes the specified document from the task list, given the document’s name, path, document type, and file type.

Tip:

To remove a document by its index, use RemoveDocumentAt.

Syntax

<HFMwWorkspace>.RemoveDocument pbstrName, pbstrPath, plType, plFileType

Argument

Description

pbstrName

The name of the document.

Input argument. String subtype.

pbstrPath

The path of the document.

Input argument. String subtype.

plType

The document’s document type. Valid values are represented by the HFMConstants type library constants listed in Document Type Constants.

Input argument. Long subtype.

plFileType

The document’s file type. Valid values are represented by the HFMConstants type library constants listed in Document File Type Constants.

Input argument. Long subtype.