'Declaration
Public Overloads Sub WriteXml( _ ByVal stream As Stream, _ Optional ByVal saveStyles As Boolean, _ Optional ByVal saveExpandedState As Boolean _ )
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.