ComponentOne TreeView for WinForms
WriteXml(String,Boolean,Boolean) Method

C1.Win.TreeView Namespace > C1TreeView Class > WriteXml Method : WriteXml(String,Boolean,Boolean) Method
Name of the file to save, including the path.
Save styles of treeview.
Save treeview in expanded/collapsed state.
Saves the treeview contents to an Xml document.
Syntax
'Declaration
 
Public Overloads Sub WriteXml( _
   ByVal fileName As String, _
   Optional ByVal saveStyles As Boolean, _
   Optional ByVal saveExpandedState As Boolean _
) 
public void WriteXml( 
   string fileName,
   bool saveStyles,
   bool saveExpandedState
)

Parameters

fileName
Name of the file to save, including the path.
saveStyles
Save styles of treeview.
saveExpandedState
Save treeview in expanded/collapsed state.
See Also

Reference

C1TreeView Class
C1TreeView Members
Overload List