Spread for ASP.NET 7.0 Product Documentation
Serialize(XmlTextWriter,Boolean) Method
See Also  Support Options
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 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.