SaveToFile Method
Description
Saves the XML layout information stored in the Value property to an XML file at the specified path.
Syntax
Public Sub SaveToFile( _
ByVal [Path] As String _
)
Parameters
- Path: Path to save the XML file.
Return Type
Returns True if the information was successfully saved to the file, False if there was a problem saving to the file.
Remarks
A call to DoPropExchange should be made before saving the layout information to the file. This will ensure that the current layout information will be saved.
Note: SaveToFile only saves XML data to XML files. The XML string saved to the file is stored in the Value property.
To save information to a binary file or the system registry, use the CreateAsBinary and CreateAsRegistry methods, passing in False for the Loading parameter, then call DoPropExchange to save the information.
See Also
Example
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.