O'Reilly logo

Visual Basic 2010 Unleashed by Alessandro Del Sole

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Xml Schema Inference

LINQ to Xml and Xml literals are both powerful features but they have a limitation: Within embedded expressions or when using the literals symbols in queries, IntelliSense support is not as good as usual, especially when you need to invoke Xml attributes. This means that in most situations you need to remember and manually write code that maps attributes with no IntelliSense support. This can lead to errors, because elements and attributes within Xml documents are case-sensitive, so typing age instead of Age results in a runtime error. To solve this issue, Visual Basic offers a nice feature known as the Xml Schema Inference Wizard that is a tool integrated in the IDE and that is specific for Visual Basic. The tool allows ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required