'Declaration Public Overloads Sub Save( _ ByVal stream As System.IO.Stream _ )
public void Save( System.IO.Stream stream )
Parameters
- stream
- System.IO.Stream where the worksheet is saved.
'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);