Spread Windows Forms 7.0 Product Documentation
SaveXml(String) Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > SaveXml Method : SaveXml(String) Method


xmlFileName
Path and name of the XML file

Glossary Item Box

Saves the data on the sheet to the specified XML file.

Syntax

Visual Basic (Declaration) 
Public Overloads Function SaveXml( _
   ByVal xmlFileName As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim xmlFileName As String
Dim value As Boolean
 
value = instance.SaveXml(xmlFileName)
C# 
public bool SaveXml( 
   string xmlFileName
)

Parameters

xmlFileName
Path and name of the XML file

Return Value

Boolean: true if successful; false otherwise

Example

This example saves the raw data as XML to a file.
C#Copy Code
fpSpread1.ActiveSheet.SaveXml("D:\\samples\\spread.xml") ;
Visual BasicCopy Code
FpSpread1.ActiveSheet.SaveXml("D:\samples\spread.xml")

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

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