Saves the data on the sheet to the specified XML file and the schema to the specified schema file.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim xmlFileName As String
Dim schemaFileName As String
Dim value As Boolean
value = instance.SaveXml(xmlFileName, 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.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.SaveXml("D:\\samples\\spread.xml", "D:\\samples\\spread.xsd"); |
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.SaveXml("D:\samples\spread.xml", "D:\samples\spread.xsd") |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also