XElement Class Dynamic Properties
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at XElement Class Dynamic Properties.
This section describes the dynamic properties of the T:System.Xml.Linq.XElement class.
| 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. |
System.Xml.Linq.XElement
LINQ to XML Dynamic Properties
XAttribute Class Dynamic Properties
Show: