次の方法で共有


name Property (IXMLDOMDocumentType) (Compact 2013)

3/26/2014

Contains the name of the document type.

Syntax

strValue = oXMLDOMDocumentType.name;
HRESULT get_name(
  BSTR* rootName
);

Parameters

Script

None.

C/C++

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

Return Value

Script

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

C/C++

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value when returning Null.

Remarks

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

IXMLDOMDocumentType

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties