IHTMLPluginsCollection

IHTMLPluginsCollection


This interface provides access to a zero-based collection of all the EMBED elements in an HTML document. The elements are in the same order as they appear in the document. Use the IOmNavigator::get_plugins property to retrieve an interface pointer of this type.

The collection is indexed first by name, then by ID. If duplicate names are found, a collection of those named items is returned. The resulting collection can be referenced only by ordinal position.

IHTMLPluginsCollection Methods
get_length   refresh  

IHTMLPluginsCollection::get_length

HRESULT get_length( 
    long *p 
);

Retrieves the number of elements in the collection.

p
Address of a variable that receives the number of elements.

IHTMLPluginsCollection::refresh

HRESULT refresh(
    VARIANT_BOOL reload 
);

Refreshes the content of the collection.

reload
Boolean value specifying whether to reload the document.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.