Writes this Object into a SofuML tree.
Declaration Syntax
C# |
public virtual void WriteML( XmlWriter writer )
Parameters
- writer (XmlWriter)
- XMLWriter to use
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);