XElement Properties
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The XElement type exposes the following members.
| Name | Description | |
|---|---|---|
|
BaseUri | Gets the base URI for this XObject. (Inherited from XObject.) |
|
Document | Gets the XDocument for this XObject. (Inherited from XObject.) |
|
EmptySequence | Gets an empty collection of elements. |
|
FirstAttribute | Gets the first attribute of this element. |
|
FirstNode | Get the first child node of this node. (Inherited from XContainer.) |
|
HasAttributes | Gets a value indicating whether this element as at least one attribute. |
|
HasElements | Gets a value indicating whether this element has at least one child element. |
|
IsEmpty | Gets a value indicating whether this element contains no content. |
|
LastAttribute | Gets the last attribute of this element. |
|
LastNode | Get the last child node of this node. (Inherited from XContainer.) |
|
Name | Gets the name of this element. |
|
NextNode | Gets the next sibling node of this node. (Inherited from XNode.) |
|
NodeType | Gets the node type for this node. (Overrides XObject.NodeType.) |
|
Parent | Gets the parent XElement of this XObject. (Inherited from XObject.) |
|
PreviousNode | Gets the previous sibling node of this node. (Inherited from XNode.) |
|
Value | Gets the concatenated text contents of this element. |
| Name | Description | |
|---|---|---|
|
IXmlLineInfo.LineNumber | Gets the line number that the underlying XmlReader reported for this XObject. (Inherited from XObject.) |
|
IXmlLineInfo.LinePosition | Gets the line position that the underlying XmlReader reported for this XObject. (Inherited from XObject.) |
Show: