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



C1.Win.TreeView Namespace > C1TreeView Class > WriteXml Method : WriteXml(Stream,Boolean,Boolean) Method
The System.IO.Stream where the document is saved.
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 stream As Stream, _
   Optional ByVal saveStyles As Boolean, _
   Optional ByVal saveExpandedState As Boolean _
) 
'Usage
 
Dim instance As C1TreeView
Dim stream As Stream
Dim saveStyles As Boolean
Dim saveExpandedState As Boolean
 
instance.WriteXml(stream, saveStyles, saveExpandedState)
public void WriteXml( 
   Stream stream,
   bool saveStyles,
   bool saveExpandedState
)
public:
void WriteXml( 
   Stream^ stream,
   bool saveStyles,
   bool saveExpandedState
) 

Parameters

stream
The System.IO.Stream where the document is saved.
saveStyles
Save styles of treeview.
saveExpandedState
Save treeview in expanded/collapsed state.
See Also

Reference

C1TreeView Class
C1TreeView Members
Overload List