Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / Serialize Method / Serialize(XmlTextWriter,Boolean) Method
XmlTextWriter object to which to save the object
Whether to save the data source and bound data


In This Topic
    Serialize(XmlTextWriter,Boolean) Method
    In This Topic
    Saves the object to XML and specifies whether to save the data source and bound data.
    Syntax
    'Declaration
     
    
    Public Overloads Function Serialize( _
       ByVal w As XmlTextWriter, _
       ByVal saveDataSource As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim w As XmlTextWriter
    Dim saveDataSource As Boolean
    Dim value As Boolean
     
    value = instance.Serialize(w, saveDataSource)
    public bool Serialize( 
       XmlTextWriter w,
       bool saveDataSource
    )

    Parameters

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

    Return Value

    true if successful; false otherwise
    See Also