Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
createDocumentType
Collapse the table of content
Expand the table of content

createDocumentType method

Creates a document type element.

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

 

Syntax


IDOMDocumentType retVal = object.createDocumentType(bstrQualifiedName, pvarPublicId, pvarSystemId);

Parameters

bstrQualifiedName [in]

Type: BSTR

The name of the document type. When you use XML namespaces, this name can be a qualified name (for example, namespace:localname).

pvarPublicId [in]

Type: VARIANT

The public identifier of the document type or NULL.

pvarSystemId [in]

Type: VARIANT

The system identifier of the document type or NULL.

Standards information

See also

Reference
IHTMLDOMImplementation2::createDocument
IHTMLDOMImplementation2::createHTMLDocument

 

 

Community Additions

ADD
Show:
© 2015 Microsoft