Skip to content

Commit f3bc908

Browse files
authored
Move snippet tags
1 parent 431ca62 commit f3bc908

File tree

1 file changed

+12
-3
lines changed
  • snippets/visualbasic/VS_Snippets_Data/Classic WebData XmlDocument.CreateElement Example/VB

1 file changed

+12
-3
lines changed

snippets/visualbasic/VS_Snippets_Data/Classic WebData XmlDocument.CreateElement Example/VB/source.vb

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
Option Explicit
22
Option Strict
3-
3+
' <Snippet1>
44
Imports System.IO
55
Imports System.Xml
66

77
Public 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
2927
End 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>

0 commit comments

Comments
 (0)