createDocumentFragment method
[This documentation is preliminary and is subject to change.]
Creates a new document.
![]() |
Syntax
var pNewDoc = document.createDocumentFragment();Standards information
Parameters
- pNewDoc [out, retval]
-
Type: IHTMLDocument2
Returns the newly created document.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Type: ObjectReturns the newly created document.
Build date: 2/14/2012
