次の方法で共有


entities Property (Windows Embedded CE 6.0)

1/6/2010

Contains a list of the entities declared in the DOCTYPE declaration.

Script Syntax

var objXMLDOMNamedNodeMap = oXMLDOMDocumentType.entities;

Remarks

Ee503143.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee503143.collapse(en-US,WinEmbedded.60).gifScript Return Value

Object. List of the general entities, both external and internal, that are present in this document.

Ee503143.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT get_entities(
  IXMLDOMNamedNodeMap** entityMap
);

Remarks

Ee503143.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

  • entityMap
    [out, retval] List of the general entities, both external and internal, that are present in this document.

Ee503143.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.
  • E_INVALIDARG
    Value returned if entityMap is Null.

Ee503143.collapse(en-US,WinEmbedded.60).gifRequirements

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

General Remarks

In the following DOCTYPE declaration, for example, the node list in this property contains the entities bax and bay, but not baz.

<!DOCTYPE ex SYSTEM "ex.dtd" [
  <!ENTITY bat "bat">
  <!ENTITY bar "bar">
  <!ENTITY % baz "baz">
]>

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

IXMLDOMDocumentType.

See Also

Reference

XML DOM Properties