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