Spread Windows Forms 12.0 Product Documentation
SaveXml(String,String) Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > SaveXml Method : SaveXml(String,String) Method
Path and name of XML file
Path and name of schema file
Saves the data on the sheet to the specified XML file and the schema to the specified schema file.
Syntax
'Declaration
 
Public Overloads Function SaveXml( _
   ByVal xmlFileName As String, _
   ByVal schemaFileName As String _
) As Boolean
'Usage
 
Dim instance As SheetView
Dim xmlFileName As String
Dim schemaFileName As String
Dim value As Boolean
 
value = instance.SaveXml(xmlFileName, schemaFileName)
public bool SaveXml( 
   string xmlFileName,
   string schemaFileName
)

Parameters

xmlFileName
Path and name of XML file
schemaFileName
Path and name of schema file

Return Value

Boolean: true if successful; false otherwise
Example
This example saves the raw data as XML to a file and its associated schema to a file.
fpSpread1.ActiveSheet.SaveXml("D:\\samples\\spread.xml", "D:\\samples\\spread.xsd");
FpSpread1.ActiveSheet.SaveXml("D:\samples\spread.xml", "D:\samples\spread.xsd")
See Also

Reference

SheetView Class
SheetView Members
Overload List