Write this SofuObject into a file.
Uses the default encoding of UTF-16.
Declaration Syntax
C# |
public void Write( string filename )
Parameters
- filename (String)
- File to write to
Examples
CopyC#
Sofu.Sofu.Map map = new Sofu.Sofu.Map(); map.SetAttribute("Hello",new Sofu.Sofu.Value("World"); map.Write("helloworld.sofu");