Export (0) Print
Expand All

createDocumentFragment method

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

Document Object Model (DOM) Level 3 Core Specification, Section 1.4

 

Syntax


HRESULT retVal = object.createDocumentFragment(pNewDoc);

Parameters

pNewDoc [out, retval]

Type: IHTMLDocument2

A pointer to an IHTMLDocument2 interface that receives the newly created document.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

 

 

Community Additions

ADD
Show:
© 2014 Microsoft