Export (0) Print
Expand All

createDocument method

Creates a document that is not attached to a window.

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

 

Syntax


IHTMLDocument7 retVal = object.createDocument(pvarNS, pvarElementName, pDocumentType);

Parameters

pvarNS [in]

Type: VARIANT

The namespace URI of the resulting document or a NULL value.

pvarElementName [in]

Type: VARIANT

The qualified name (for example, namespace:localname) of the root element for the document or a NULL value.

pDocumentType [in]

Type: IDOMDocumentType

The desired document type for the document or a NULL value.

Standards information

See also

Reference
IHTMLDOMImplementation2::createDocumentType
IHTMLDOMImplementation2::createHTMLDocument

 

 

Community Additions

ADD
Show:
© 2014 Microsoft