Share via


IComponentTypes Interface

The IComponentTypes interface is implemented on ComponentTypes objects and contains methods that enable applications to enumerate, add, remove and retrieve individual ComponentType objects. All ComponentTypes objects also support IPersistPropertyBag.

Methods

The IComponentTypes interface inherits the methods of the IDispatch interface.

In addition, IComponentTypes defines the following methods.

Method Description

Add

Adds a new ComponentType object to the collection.

Clone

Creates a new copy of the collection.

EnumComponentTypes

Returns an IEnumComponentTypes enumerator for all component types in the collection.

get__NewEnum

Enumeration method to support For...Each loops in Automation clients.

get_Count

Returns the number of Component Types in the collection.

get_Item

Retrieves the IComponentType interface pointer at the specified index number.

put_Item

Replaces the ComponentType object at the specified index with a new ComponentType object.

Remove

Removes the ComponentType object at the specified index number.

See Also

Tuning Model Interfaces

Send comments about this topic to Microsoft

Build date: 12/4/2008