MdoProject MdoComponents Collection

See Also

The collection of all Visual Basic components that are contained within this project.

This collection is not attached to the default interface for the MdoProject Automation object; it is attached to the IMdoProject 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 Project-Has-Components
Source Is Origin Yes
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.MdoComponents(index)

The MdoComponents collection syntax has these parts:

Part Description
object An object expression; evaluates to an object that implements IMdoProject 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.MdoComponents.Count.