InterfaceDef Classes Collection

See Also

This collection specifies which classes implement the interface.

Collection descriptor Descriptor value
Relationship Type Class-Implements-Interface
Source Is Origin No
Minimum Collection Size Zero
Maximum Collection Size Many
Sequenced Collection No
Deletes Propagated No
Destinations Named No
Case Sensitive Names Not Applicable
Unique Names Not Applicable

Syntax

Set variable = object.Classes( index )

The Classes collection syntax has the following parts.

Part Description
variable A variable declared as a ClassDef object. Receives the specified class definition.
object An object expression that evaluates to an InterfaceDef object.
index An integer index that identifies which element in the collection is to be addressed. The valid range is from one to the number of elements in the collection. The number of elements in the collection is specified by object.Classes.Count.