Properties Collection

Crystal Enterprise InfoStore Library
See Also  

The Properties collection is used by the InfoObject, ProccessingInfo, and SchedulingInfo objects. It returns Property objects, each of which may be a simple property or a property bag. If a Property object is a property bag, you can use the Properties Property to return the properties it contains, each of which may be a simple property or a property bag, and so on. You can also use this collection to add custom properties and property bags.

The diagram below illustrates the recursive relationship between the Properties collection and the Property object:

In most cases, the properties in the InfoObject Properties collection are set through the InfoObject object, or through the InfoObject's corresponding plugin interface. For example, each user has general properties, such as a name and an ID, which you can access through the InfoObject's Title property and ID property respectively. A user also has user-specific properties that can be manipulated with the User object. The SchedulingInfo properties are set through the SchedulingInfo Object, and most of the ProcessingInfo properties are set through the Report Object.

Some properties in the Properties collection cannot be accessed through an object interface. For information on how to retrieve these properties, see Accessing properties from a query result.

Properties
Property Description

Count Property

The number of items in the collection. Read-Only.

Item Property

Retrieves a property in the collection given an Index. Read-Only.

Method Description

Add Method

Adds a property to the collection.

Delete Method

Deletes a property from the collection.

Methods


Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com