Resource Property

Return or set application specific resource data in the package.

Syntax

object.Resource(index) [= value]

The Resource property syntax has the following parts:

Part Description
object An object expression that evaluates to a Package object.
index An integer that specifies the resource to return or modify in the current package.
value A string or numeric value that specifies the value that is to be stored in the current package.

Remarks

The Resource property provides the means for an application to store additional information in the package. Unlike the Information property, which returns information for a set of predefined value types (such as the company and product name), the Resource property may be used to store any application specific data. The index value is user-defined, and may be in the range of 0 - 61439 (EFFFh).

There are no specific limitations on the amount of resource data that may be stored in a package. Numeric values are automatically converted to strings before they are stored.

See Also

Information Property