Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Contains the name of the document type.

Script Syntax

Copy Code
		
strValue = oXMLDOMDocumentType.name;

Remarks

Script Parameters

None.

Script Return Value

String. When specified, this corresponds to the single root element of the document tree.

C/C++ Syntax

Copy Code
HRESULT get_name(
  BSTR* 
rootName
);

Remarks

C/C++ Parameters

rootName

[out, retval] When specified, this corresponds to the single root element of the document tree.

C/C++ Return Values

S_OK

Value returned if successful.

S_FALSE

Value when returning Null.

Requirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

This property is read-only, and applies to the following interface:

IXMLDOMDocumentType