Skip to content

Commit 3015f20

Browse files
add output for CreateTextNode method (#11741)
1 parent 899cb36 commit 3015f20

File tree

1 file changed

+10
-0
lines changed
  • snippets/csharp/System.Xml/XmlDocument/CreateElement

1 file changed

+10
-0
lines changed

snippets/csharp/System.Xml/XmlDocument/CreateElement/source.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,14 @@ public static void Main()
2424
doc.Save(Console.Out);
2525
}
2626
}
27+
/*
28+
The example displays the following output:
29+
30+
Display the modified XML...
31+
<?xml version="1.0" encoding="us-ascii"?>
32+
<book genre="novel" ISBN="1-861001-57-5">
33+
<title>Pride And Prejudice</title>
34+
<price>19.95</price>
35+
</book>
36+
*/
2737
// </Snippet1>

0 commit comments

Comments
 (0)