Spread ASP.NET 6.0 Product Documentation
Serialize(XmlTextWriter,Boolean) Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetDataModel Class > Serialize Method : Serialize(XmlTextWriter,Boolean) Method


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

Glossary Item Box

Saves the object to XML and specifies whether to save the data source and bound data.

Syntax

Visual Basic (Declaration) 
Public Overloads Function Serialize( _
   ByVal w As XmlTextWriter, _
   ByVal saveDataSource As Boolean _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DefaultSheetDataModel
Dim w As XmlTextWriter
Dim saveDataSource As Boolean
Dim value As Boolean
 
value = instance.Serialize(w, saveDataSource)
C# 
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

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.