C1.Silverlight.Excel Namespace > C1XLBook Class > Save Method : Save(Stream) Method |
'Declaration
Public Overloads Sub Save( _ ByVal stream As System.IO.Stream _ )
public void Save( System.IO.Stream stream )
// save book into new MemoryStream MemoryStream ms = new MemoryStream(); _book.Save(ms); // clear book _book.Clear(); // load it back from the MemoryStream ms.Position = 0; _book.Load(ms);
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2