SaveXMLtoDim Method (TREEVIEW)
9.3A, PLBCMP GUI Only
The SaveXMLtoDim method stores the contents of a TREEVIEW object into a DIM variable. The method uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A TREEVIEW object that is accessed.
return
Optional. A Character String Variable that receives the XML data from the TREEVIEW object.
options
Optional. A decimal number or Numeric Variable that specifies the load options.
Flags Affected: EOS, OVER, ZERO
Note the following:
The ZERO and OVER Condition Flags are always cleared.
The EOS Condition Flag is set when the XML data is truncated and {return} is specified.
The {options} are the same as the SaveXmlFile method for the TREEVIEW object.
The error values for the SaveXmlToDim method are the same as the SaveXmlFile method. When an error occurs for the SaveXmlToDim method, the error value is returned in the {return} variable as follows:
Error: {nnn}
Where:
nnn
is the error value returned as a decimal number.
See Also: Method Syntax, TREEVIEW Methods
![]() |