XElement Class Dynamic Properties

 

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.

TopicDescription
AttributeGets an indexer used to retrieve the attribute that corresponds to a specified expanded name.
ElementGets an indexer used to retrieve the child element that corresponds to a specified expanded name.
ElementsGets an indexer used to retrieve the child elements of the current element that match a specified expanded name.
DescendantsGets an indexer used to retrieve all the descendant elements of the current element that match a specified expanded name.
ValueGets or sets the content of an element.
XmlGets the unformatted XML representation of an element.

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

Show: