Adds an element to the collection.
Syntax
HRESULT add( IHTMLElement *element, VARIANT before );
Parameters
- element
- Address of the IHTMLElement interface of the element to add.
- before
- VARIANT structure that contains the number that specifies the position within the collection to place the element. If no value is given, the method places the element at the end of the collection.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also
remove