Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / Save Method / Save(Stream,Boolean) Method
Stream to which to save
Whether to save only data
Example


In This Topic
    Save(Stream,Boolean) Method
    In This Topic
    Saves the contents of the sheet to XML in the specified stream.
    Syntax
    'Declaration
     
    Public Overloads Function Save( _
       ByVal stream As Stream, _
       ByVal dataOnly As Boolean _
    ) As Boolean
    'Usage
     
    Dim instance As SheetView
    Dim stream As Stream
    Dim dataOnly As Boolean
    Dim value As Boolean
     
    value = instance.Save(stream, dataOnly)
    public bool Save( 
       Stream stream,
       bool dataOnly
    )

    Parameters

    stream
    Stream to which to save
    dataOnly
    Whether to save only data

    Return Value

    Boolean: true if successful; false otherwise
    Example
    This example shows how to save to a stream.
    See Also