Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IHTMLDocument2::embeds Property

Gets an interface pointer to a zero-based collection of all of the embed objects in an HTML document.

Syntax


HRESULT IHTMLDocument2::get_embeds(IHTMLElementCollection **p);

Parameters

p
A pointer to the IHTMLElementCollection interface of the collection.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The embed objects are in the same order as they appear in the document. If duplicate names are found, a collection of those named items is returned. Collections of duplicate names must be referenced subsequently by ordinal position.

Community Additions

Show:
© 2015 Microsoft