Remove all of the files in the collection from the patch
package.
Syntax
object.Delete
The object is an expression that evaluates to a
PackageFiles collection.
Remarks
This method will delete all of the PackageFile objects from
the collection and will remove the corresponding files from the patch package. This is
useful when used in conjunction with the Find method in the Package
control, which returns a PackageFiles collection that matches the specified search
critera.
Example
'
' Delete all text files from the package
'
Dim Files As PackageFiles
Dim File As PackageFile
Set Files =
Package1.Find("*.txt", , apRecursiveFind)
Files.Delete
Set Files = Nothing
See Also
Package Control: Find Method
|