Official Content

Receives an XML string from which the SDT is loaded.

Syntax

[&Boolean =] &SDT.FromXml(&String[,&Messages])

Where:

&String
    Attribute or variable string

&SDT
    Variable based on an SDT

&Messages
     Variable based on GeneXus's Messages data type. In case of an error, it contains the error information. This Parameter is optional.  

Type Returned:
Boolean.
     It returns False in case of having an error, otherwise, it returns True. 

Note: Assigning the return value is optional.

Scope

Generators: .NET, .NET Framework, Java.

Description

It loads the &SDT structure from the &String variable content. This variable's XML format must be compatible with the SDT's structure.

See Also

ToXml Method
Structured Data Type (SDT) object

 



Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant