-api-id | -api-type |
---|---|
P:Windows.Data.Xml.Dom.IXmlNode.Attributes |
winrt property |
Gets the list of attributes of this node.
The attributes for this node.
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 |