File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -557,10 +557,10 @@ using (StreamWriter output =
557
557
558
558
559
559
## Examples
560
- The following example writes an XML fragment to a memory stream.
560
+ The following example shows how to set the `Enconding` property:
561
561
562
- [!code-csharp[XmlWriterSettings.CloseOutput#1](~/samples/snippets/csharp/VS_Snippets_Data/XmlWriterSettings.CloseOutput /CS/writestream2 .cs#1 )]
563
- [!code-vb[XmlWriterSettings.CloseOutput#1](~/samples/snippets/visualbasic/VS_Snippets_Data/XmlWriterSettings.CloseOutput /VB/writestream2 .vb#1 )]
562
+ [!code-csharp[XmlWriterSettings.CloseOutput#1](~/samples/snippets/csharp/VS_Snippets_Data/XML_Migration /CS/migration .cs#6 )]
563
+ [!code-vb[XmlWriterSettings.CloseOutput#1](~/samples/snippets/visualbasic/VS_Snippets_Data/XML_Migration /VB/migration .vb#6 )]
564
564
565
565
]]> </format >
566
566
</remarks >
You can’t perform that action at this time.
0 commit comments