Spread WinForms 15
FarPoint.Win Assembly / FarPoint.Win 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)

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