Microsoft DirectX 9.0

IComponents.Add

The Add method add a component to the collection.

Syntax

objIComponents.Add(Component As Component) As VARIANT

Parameters

Component

  Specifies the IComponent object to be added to the collection.

Error Codes

If the method fails, an error is raised and Err.Number is set to a value other than zero.

Return Value

Returns the index value of the component within this collection.

See Also