MdoMSForm MdoComponentProject Collection

See Also

The collection of one Visual Basic project to which the dialog form belongs.

This collection is not attached to the default interface for the MdoMSForm Automation object; it is attached to the IMdoComponent 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 No
Minimum Collection Size One
Maximum Collection Size One
Sequenced Collection No
Deletes Propagated Yes
Destinations Named Yes
Case Sensitive Names No
Unique Names Yes

Syntax

object.MdoComponentProject(index)

The MdoComponentProject collection syntax has these parts:

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