File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
snippets/visualbasic/VS_Snippets_Data/Classic WebData XmlDocument.CreateElement Example/VB Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 11Option Explicit
22Option Strict
3-
3+ ' <Snippet1>
44Imports System.IO
55Imports System.Xml
66
77Public Class Sample
88 Public Shared Sub Main()
9- ' <Snippet1>
109
1110 ' Create the XmlDocument.
1211 Dim doc As New XmlDocument()
@@ -24,6 +23,16 @@ Public Class Sample
2423 Console.WriteLine( "Display the modified XML..." )
2524 doc.Save(Console.Out)
2625
27- ' </Snippet1>
2826 End Sub
2927End Class
28+
29+ ' The example displays the following output:
30+ '
31+ ' Display the modified XML...
32+ ' <?xml version="1.0" encoding="utf-8"?>
33+ ' <book genre="novel" ISBN="1-861001-57-5">
34+ ' <title>Pride And Prejudice</title>
35+ ' <price>19.95</price>
36+ ' </book>
37+
38+ ' </Snippet1>
You can’t perform that action at this time.
0 commit comments