Microsoft DirectX 9.0

IComponents.Remove

The Remove method removes a Component object from the collection at the specified index.

Syntax

objIComponents.Remove(Index)

Parameters

Index

  Specifies the index of the object to remove as a Long integer.

Error Codes

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

Return Value

This method returns the Component object that was removed from the collection.

See Also