Click to return to the Reusing Browser Technology home page    
IHTMLDocument2::get_ancho...     IHTMLDocument2::get_bgCol...     IHTMLDocument2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLDocument2::get_applets Method


Retrieves an interface pointer to a zero-based collection of all the APPLET objects in an HTML document. The objects are in the same order as they appear in the document.

Syntax

HRESULT get_applets(
    IHTMLElementCollection **p
);

Parameters

p
Address of a pointer to the IHTMLElementCollection interface of the applet collection.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

If duplicate names are found, a collection of those named items is returned. Collections of duplicate names must be referenced subsequently by ordinal position.



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.