XElement Class Dynamic Properties

This section describes the dynamic properties of the XElemen[t] class.

In This Section

Topic

Description

Attribute (XElement Dynamic Property)

Gets an indexer used to retrieve the attribute that corresponds to a specified expanded name.

Element (XElement Dynamic Property)

Gets an indexer used to retrieve the child element that corresponds to a specified expanded name.

Elements (XElement Dynamic Property)

Gets an indexer used to retrieve the child elements of the current element that match a specified expanded name.

Descendants (XElement Dynamic Property)

Gets an indexer used to retrieve all the descendant elements of the current element that match a specified expanded name.

Value (XElement Dynamic Property)

Gets or sets the content of an element.

Xml (XElement Dynamic Property)

Gets the unformatted XML representation of an element.

See Also

Concepts

LINQ to XML Dynamic Properties

XAttribute Class Dynamic Properties

Reference

System.Xml.Linq.XElement