Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / ISerializeData Interface / Serialize Method / Serialize(XmlTextWriter,Boolean) Method
XmlTextWriter object used to save the data
Whether to save the data source and bound data


In This Topic
    Serialize(XmlTextWriter,Boolean) Method
    In This Topic
    Saves the data to XML and optionally the data source and bound data.
    Syntax
    'Declaration
     
    Overloads Function Serialize( _
       ByVal w As XmlTextWriter, _
       ByVal saveDataSource As Boolean _
    ) As Boolean
    'Usage
     
    Dim instance As ISerializeData
    Dim w As XmlTextWriter
    Dim saveDataSource As Boolean
    Dim value As Boolean
     
    value = instance.Serialize(w, saveDataSource)
    bool Serialize( 
       XmlTextWriter w,
       bool saveDataSource
    )

    Parameters

    w
    XmlTextWriter object used to save the data
    saveDataSource
    Whether to save the data source and bound data

    Return Value

    true if successful; false otherwise
    Remarks

    Data consists of the cell data, formulas, tags, and notes.

    Data consists of the data models for each sheet.

    See Also