Description

Removes all files in a Multi File Document object, The object must be checked out.

Syntax

Sub RemoveAllFiles(Vault As Vault, ObjVer As ObjVer)

Parameters

Name

Data Type

Description

Vault

Vault

The vault containing the object to process

ObjVer

ObjVer

ObjVer of thr object to process. 

Return

No return value. 

Example

'create Pentagon DOCS Script Library object

Set scriptLib = GetExtensionObject("PentagonDOCS.Core.ScriptLibrary")


'remove all files

scriptLib.RemoveAllFiles Vault, ObjVer