Share via


Language-Integrated Axes in Visual Basic (LINQ to XML)

This section describes features built directly into the Visual Basic language to make it easy to access XML. Many of the examples in the LINQ to XML documentation use these integrated Visual Basic axes.

In This Section

Topic

Description

XML Child Axis Property (Visual Basic)

Provides access to the children of one of the following: an XElement object, an XDocument object, a collection of XElement objects, or a collection of XDocument objects. This axis is equivalent to the Elements axis.

XML Descendant Axis Property (Visual Basic)

Provides access to the descendants of the following: an XElement object, an XDocument object, or a collection of XElement objects. This axis is equivalent to the Descendants axis.

XML Attribute Axis Property (Visual Basic)

Provides access to an attribute of an XElement object. This axis is roughly equivalent to the Attribute axis. This axis differs from the Attribute axis in that it returns the value of the attribute, not an XAttribute object.

Extension Indexer Property (Visual Basic)

Provides access to individual elements in a collection.

See Also

Concepts

LINQ to XML Axes