Integration of XML literals with XML Schema Explorer
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Visual Basic supports XML literals, which means that you can incorporate XML fragments directly into your Visual Basic code. For more information, see XML literals overview.
How to
If an XSD file in your Visual Basic project includes an XML literal, you can view the XML schema set in the XML Schema Explorer. To view the schema set associated with an XML literal, right-click on an XML node in an XML literal or an XML namespace import and select Show in Schema Explorer.
This opens the XML Schema Explorer side by side with your Visual Basic file.