WriteToFile() public method

public WriteToFile ( string filename ) : void
filename string
return void
Beispiel #1
0
        public void Save()
        {
            DzBoxSerializer dzBox = new DzBoxSerializer("workspace");
            int             j     = userBoxes.Count;

            for (int i = 0; i < j; ++i)
            {
                var dzElem = userBoxes[i] as IDesignBox;
                dzElem.Describe(dzBox);
            }
            dzBox.WriteToFile("d:\\WImageTest\\workspace01.xml");
        }
 public void Save()
 {
     DzBoxSerializer dzBox = new DzBoxSerializer("workspace");
     int j = userBoxes.Count;
     for (int i = 0; i < j; ++i)
     {
         var dzElem = userBoxes[i] as IDesignBox;
         dzElem.Describe(dzBox);
     }
     dzBox.WriteToFile("d:\\WImageTest\\workspace01.xml");
 }