Microsoft DirectX 8.0

ComponentTypes Object

Represents a collection of ComponentType objects.

Method or Property NameDescription
AddAppend the ComponentType to the collection.
CloneCreate a copy of this collection.
CountNumber of items in the collection.
ItemGet the ComponentType at the specified index.
RemoveClear the collection.

ComponentTypes.Add Method

ComponentTypes Object

Append the ComponentType to the collection.

Syntax

ComponentTypes.Add(ComponentType)

Parameters

ComponentType The ComponentType object to add to the collection.

Return Value

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

Remarks

See Also

ComponentTypes.Clone Method

ComponentTypes Object

Create a new copy of this object.

Syntax

ComponentTypes.Clone

ComponentTypes.Count Property

ComponentTypes Object

Number of items in the collection.

Syntax

ComponentTypes.Count

Remarks

This property is read only.

See Also

ComponentTypes.Item Property

ComponentTypes Object

Get the ComponentType at the specified index.

Syntax

ComponentTypes.Item(Index,ComponentType)

Parameters

Index Index of the ComponentType object in the collection.

Possible Values

Returns a ComponentType object.

Remarks

This property is read-write.

See Also

ComponentTypes.Remove Method

ComponentTypes Object

Clear the collection.

Syntax

ComponentTypes.Remove(Index)

Parameters

Index Index of the ComponentType object to remove.

Return Value

Remarks

See Also