Introducing LINQ to Xml

LINQ to Xml is the standard LINQ provider for reading, creating, and manipulating Xml documents with the .NET languages starting from Visual Basic 2008 and Visual C# 3.0. Such a provider is implemented in the System.Xml.Linq.dll assembly and generally supports all operators available in LINQ to Objects with a few differences due to the Xml document structure and to other specific language features. The good news is that you can take advantage of the unified programming model offered by LINQ to perform Xml manipulations via the classical LINQ syntax that you already know. Visual Basic 2010, like its predecessor, offers particular syntax paradigms for LINQ to Xml that is also described in this chapter. You first learn ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.