PackageFile Object, PackageFiles Collection

A PackageFile object is an item in a Package control which contains information about a specific file in the patch package.

A PackageFiles collection contains one or more PackageFile objects.

Syntax

package.PackageFiles
package.PackageFiles(index)

The syntax lines above refer to the collection and to individual elements in the collection, respectively, according to the standard collection syntax.

The PackageFile object, PackageFiles collection syntax has these parts:

Part Description
package An object expression that evaluates to a Package control.
index Either an integer or string that uniquely identifies a member of an object collection. An integer would be the value of the Index property. A string would be the value of the FileName property.

The PackageFiles collection supports the following properties:

The PackageFiles collection supports the following methods:

Remarks

The PackageFiles collection is a 0-based collection, which means that the collection's Index property begins with the number 0 (versus 1 in a 1-based collection). You can access each item in the collection using its index, or by specifying the name of the file.

See Also

PackageFile Object: FileName Property, PackageFile Object: Index Property