createDocument
Collapse the table of content
Expand the table of content

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

 

 

Show:
© 2016 Microsoft