MdoProject Containers Collection

See Also

The collection of one repository root object that contains this Visual Basic project.

This collection is not attached to the default interface for the MdoProject Automation object; it is attached to the IMpoProjectItem interface. For details on how to access a member of an interface that is not the default interface, see Accessing Automation Object Members.

Collection Descriptor Descriptor Value
Relationship Type ProjectItemContainer-Contains-ProjectItems
Source Is Origin No
Minimum Collection Size Zero
Maximum Collection Size Many
Sequenced Collection No
Deletes Propagated Yes
Destinations Named Yes
Case Sensitive Names No
Unique Names Yes

Syntax

object.Containers(index)

The Containers collection syntax has these parts:

Part Description
object An object expression; evaluates to an object that implements IMpoProjectItem as the default interface.
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.Containers.Count.