CollectionDef CollectionItem Collection

See Also

The collection of one relationship type that defines the relationship between target objects of this type of collection and a single source object.

Collection descriptor Descriptor value
Relationship Type Collection-Contains-Items
Source Is Origin Yes
Minimum Collection Size Zero
Maximum Collection Size One
Sequenced Collection No
Deletes Propagated No
Destinations Named No
Case-Sensitive Names Not applicable
Unique Names Not applicable

Syntax

Set variable  =  object.CollectionItem(index)

The CollectionItem collection syntax has the following parts.

Part Description
variable A variable declared as a RelationshipDef object. Receives the specified relationship definition object.
object An object expression that evaluates to a CollectionDef 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.CollectionItem.Count.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.