ExchangeString Method
Description
Saves or loads a String value to/from a data source.
Syntax
Public Sub ExchangeString( _
ByVal [PropName](#) As String, _
ByRef [Value](#) As String, _
ByVal [DefaultValue](#) As String _
)
Parameters
-
PropName
Name of the property.
Note: When working with XML data, there cannot be any spaces in the property name. -
Value
Reference to a variable of type String to save data to or to retrieve data from. -
DefaultValue
Default value of the property.
Remarks
In addition to saving the layout and state of the controls, additional String and Integer values can be saved to the same data source using the ExchangeInt and ExchangeString methods.
It is important to note that both methods require the Value parameter to be a reference to store/retrieve the data.
Whether the data will be saved or loaded depends on the current state of the Loading property.
Note: When working with XML data, there cannot be any spaces in the name given to the data.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.