createDocument method
Creates a document that is not attached to a window.
![]() ![]() |
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
Show:

