3.25 CategoryDefinitions

Provides a category definition for a collection.

3.25.1 Properties

Property

Access

Description

Application

R/O

Application. The Application object.

BackgroundColor

R/W

Long. RGB value to use in the background of this catagory.

CatagoryID

R/O

String. An ID that uniquely identifies this catagory definition.

Count

R/O

Long. The number of items in this collection.

ModifiedDate

R/O

Date. The date and time this catagory definition was last modified

_NewEnum

R/O

Enumeration object. Implements IEnumVARIANT. For Windows only.

Parent

R/O

Account. The Account object that owns this Collection.

3.25.2 Methods

CategoryDefinition Add(String Name)

Adds a Category Definition of the given name to the collection. Returns a CategoryDefinition object of the new Name. Throws an exception if the given Name is already in the collection.

CategoryDefinition Item(Long Index)

Default. Returns the CategoryDefinition object located at the given Index in the collection. Valid indexes are 1 through Count, inclusive. Throws an exception if the index is outside of this range.