Microsoft DirectX 8.1 (C++) |
The Add method creates a new ComponentType object and adds it to the collection of this ComponentTypes object.
Syntax
objComponentTypes.Add(ComponentType As ComponentType)
Parameters
ComponentType
Specifies the ComponentType 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
This method returns the index value for the newly added object as a VARIANT.
See Also