Writes this Map into a XMLWriter
Declaration Syntax
C# |
public override void WriteML( XmlWriter writer )
Parameters
- writer (XmlWriter)
- Writer to use for writing
Examples
CopyC#
Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu"); XmlWriterSettings settings = new XmlWriterSettings(); settings.CloseOutput = false; settings.Indent = true; settings.IndentChars = "\t"; XmlWriter mywriter = XmlTextWriter.Create(Console.Out, settings); file.WriteML(mywriter);