Click to return to the Reusing Browser Technology home page    
IHTMLAreasCollection Inte...     IHTMLAreasCollection::get...     IHTMLAreasCollection Inte...    
Web Workshop  |  Reusing Browser Technology

IHTMLAreasCollection::add Method


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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.