Enumerates the names of the documents that match the specified criteria, as well as the documents’ descriptions, timestamps, and security classes.
This information is returned in arrays that have a one-to-one correspondence with each other.
EnumDocumentsEx is a similar method that returns additional information such as the documents’ owners and document types. |
<HFMwManageDocuments>.EnumDocuments (bstrPath, lDocumentType, lDocumentFileType, vbFilterByCurrentUserOnly, vbFilterByCreateTime, dStartTime, dStopTime, pvarabstrDescriptions, pvaradTimestamp, pvarabstrSecurityClass)
The document type of the documents to be enumerated. Document types are represented by the HFMConstants type library constants listed in Document Type Constants. | |
The file type of the documents to be enumerated. File types are represented by the HFMConstants type library constants listed in Document File Type Constants. | |
Specifies whether to enumerate only those documents that were created by the current user. Pass TRUE to enumerate only the current user’s documents, FALSE otherwise. | |
Specifies whether information will be returned for only those documents with timestamps in a specified range. Pass TRUE to filter by timestamp, FALSE otherwise. If you pass TRUE, information will be returned for only those documents with timestamps that fall into the range specified by the dStartTime and dStopTime arguments. If you pass FALSE, the dStartTime and dStopTime arguments will be ignored, but will still require a value. | |
Returns an array of the documents’ names.
EnumDocuments is used in the example for DeleteDocuments.