Microsoft DirectX 8.0

Components Object

Represents a collection of Component objects.

Method or Property NameDescription
AddAdd the Component to the collection.
CloneCreate a new copy of this object.
CountNumber of items in the collection.
ItemGet the Component at the specified index.
RemoveRemove the Component at the specified index.

Components.Add Method

Components Object

Add the Component to the collection.

Syntax

Components.Add(Component)

Parameters

Component The Component object to add to the collection..

Return Value

If successful, returns the index value for the newly-added object.

Remarks

See Also

Components.Clone Method

Components Object

Create a new copy of this object.

Syntax

Components.Clone

Remarks

See Also

Components.Count Property

Components Object

Number of items in the collection.

Syntax

Components.Count

Remarks

This property is read only.

See Also

Components.Item Property

Components Object

Get the Component at the specified index.

Syntax

Components.Item(Index,ppComponent)

Parameters

Index The index of the item to retrieve..

Possible Values

Returns a Component object.

Remarks

This property is read only.

See Also

Components.Remove Method

Components Object

Remove the Component at the specified index.

Syntax

Components.Remove(Index)

Parameters

Index Index value of the Component object to remove from the collection.

Return Value

Remarks

See Also