XElement Class Dynamic Properties

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This section describes the dynamic properties of the System.Xml.Linq.XElement[t]() class.

In This Section

Topic Description
Attribute Gets an indexer used to retrieve the attribute that corresponds to a specified expanded name.
Element Gets an indexer used to retrieve the child element that corresponds to a specified expanded name.
Elements Gets an indexer used to retrieve the child elements of the current element that match a specified expanded name.
Descendants Gets an indexer used to retrieve all the descendant elements of the current element that match a specified expanded name.
Value Gets or sets the content of an element.
Xml Gets the unformatted XML representation of an element.

See Also

System.Xml.Linq.XElement LINQ to XML Dynamic Properties XAttribute Class Dynamic Properties