IsDocumentExists

Indicates whether the task list represented by the HFMwWorkspace instance contains the specified document.

Syntax

<HFMwWorkspace>.IsDocumentExists (bstrName, bstrPath, lDocType, lFileType)

Argument

Description

bstrName

The name of the document.

Input argument. String subtype.

bstrPath

The path of the document.

Input argument. String subtype.

lDocType

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

Input argument. Long subtype.

lFileType

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.

Return Value

Indicates whether the task list contains the document. Returns TRUE if the task list contains the document, FALSE otherwise. Boolean subtype.