Properties Common to All CDO Library Objects

Properties Common to All CDO Library Objects

All CDO Library objects expose the properties Application, Class, Parent, and Session. The Application and Session properties have the same values for all objects within a given session. The Parent property indicates the immediate parent of the object, and the Class property is an integer value that identifies the CDO Library object.

All four of these common properties have read-only access in all objects. Note that for the Session object, the Parent and Session properties are assigned the value Nothing. The Session object represents the highest level in the CDO Library object hierarchy and has no parent.

These common properties do not correspond to MAPI properties and cannot be rendered into HTML hypertext by the CDO Rendering Library.

To reduce duplication, the detailed reference for these properties appears only once, in this section. The following table lists the properties that are common to all CDO Library objects and that have the same meaning for all objects.

Properties

Name

Type

Access

Application

String

Read-only

Class

Long

Read-only

Parent

Object

Read-only

Session

Session object

Read-only