Click to return to the Reusing Browser Technology home page    
IHTMLDocument3::attachEve...     IHTMLDocument3::createTex...     IHTMLDocument3 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLDocument3::createDocumentFragment Method


Creates a new document and returns a pointer to the newly created document.

Syntax

HRESULT createDocumentFragment(
    IHTMLDocument2 **newpNewDoc
);

Parameters

newpNewDoc
Address of a pointer to an IHTMLDocument2 interface returning the newly created document.

Return Value

Returns S_OK if successful, or an error code otherwise.



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.