XElement Properties
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The XElement type exposes the following members.
Properties
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. |
Top
Explicit Interface Implementations
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.) |
Top