Spread for ASP.NET 11 Product Documentation
Serialize(XmlTextWriter,Boolean) Method


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
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

Reference

DefaultSheetDataModel Class
DefaultSheetDataModel Members
Overload List