次の方法で共有


notationName Property (Compact 2013)

3/26/2014

Contains the notation name.

Syntax

strValue = oXMLDOMEntity.notationName;
HRESULT get_notationName(
  BSTR* name
);

Parameters

Script

None.

C/C++

  • name
    [out, retval] For unparsed entities, the name of the notation for the entity (the name following NDATA). For parsed entities, contains the empty string.

Return Value

Script

String. For unparsed entities, the name of the notation for the entity (the name following NDATA). For parsed entities, contains the empty string.

C/C++

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value returned when no notation is specified.
  • E_INVALIDARG
    Value returned if name is Null.

Remarks

For unparsed entities, the notationName property contains the name of the notation for the entity (the name following NDATA). For parsed entities, it contains the empty string. Note that the name of the entity is available using the nodeName Property.

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

IXMLDOMEntity

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties
nodeName Property