Type Property

Returns the type of file stored in the package.

Syntax

object.Type

The object is an expression that evaluates to a PackageFile object. The return value is an integer value which specifies the type of file stored in the package and may be one of the following values:

Constant Description
apTypeNormalFile A regular file, such as a text file, executable program or database.
apTypePatchFile A patch file, created by comparing the differences between two different versions of a file.

Remarks

The Type property may be used to determine if a given file stored in the package is a regular file which can be extracted, or a patch file which must be applied to an existing file.