Skip to Main Content
Visual Basic 2015 Unleashed
book

Visual Basic 2015 Unleashed

by Alessandro Del Sole
July 2015
Intermediate to advanced content levelIntermediate to advanced
1300 pages
87h 27m
English
Sams
Content preview from Visual Basic 2015 Unleashed

The System.Xml.Linq Namespace

The System.Xml.Linq namespace exposes objects for creating, reading, and manipulating XML documents. All objects inherit from System.Xml.Linq.XObject. Table 27.1 summarizes and describes available objects.

Image

TABLE 27.1 Objects Available in the System.Xml.Linq Namespace

You create an XML document declaring an instance of the XDocument class:

Dim myDocument As New XDocument

When you have the instance, you can add all acceptable objects mentioned in Table 27.1. The first required element is the XML declaration that can be added as follows and that is mandatory:

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Visual Basic 2015

Beginning Visual Basic 2015

Bryan Newsome

Publisher Resources

ISBN: 9780134196664Purchase book