XmlEntityReference.Attributes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the list of attributes of this node.
public:
property XmlNamedNodeMap ^ Attributes { XmlNamedNodeMap ^ get(); };
XmlNamedNodeMap Attributes();
public XmlNamedNodeMap Attributes { get; }
var xmlNamedNodeMap = xmlEntityReference.attributes;
Public ReadOnly Property Attributes As XmlNamedNodeMap
Property Value
The attributes for this node.
Implements
Remarks
This property returns a XmlNamedNodeMap for the nodes that can return attributes. These are the Element, Entity, and Notation nodes. This property is NULL for all other node types. For the valid node types, the XmlNamedNodeMap is always returned; when there are no attributes on the element, the list length is set to zero.
The following table describes the attributes for the node types.
NodeType | Attributes |
---|---|
Element | IXmlNamedNodeMap |
Attribute | NULL |
Text | NULL |
CDATASection | NULL |
EntityReference | NULL |
Entity | NULL |
ProcessingInstruction | NULL |
Comment | NULL |
Document | NULL |
DocumentType | NULL |
DocumentFragment | NULL |
Notation | NULL |