LiquidTechnologies.XmlObjects Namespace / LxSerializer Class / Deserialize Method / Deserialize(TextReader,XmlQualifiedName,LxReaderSettings) Method
The System.IO.TextReader to read the xml data from
The qualified name of the root element (useful when the root element contains an xsi:type attribute and the class returned is attributed with LiquidTechnologies.XmlObjects.Attribution.LxComplexTypeDefinitionAttribute), in which case the value of rootElementQName will be needed in Serialize
A settings to control how the data is de-serialized

In This Topic
    Deserialize(TextReader,XmlQualifiedName,LxReaderSettings) Method
    In This Topic
    De-serializes an XML document, creating a class populated with the data from the XmlReader.
    Syntax
    'Declaration
     
    
    Public Overloads Function Deserialize( _
       ByVal textReader As System.IO.TextReader, _
       ByRef rootElementQName As System.Xml.XmlQualifiedName, _
       Optional ByVal settings As LxReaderSettings _
    ) As System.Object
    public System.object Deserialize( 
       System.IO.TextReader textReader,
       out System.Xml.XmlQualifiedName rootElementQName,
       LxReaderSettings settings
    )

    Parameters

    textReader
    The System.IO.TextReader to read the xml data from
    rootElementQName
    The qualified name of the root element (useful when the root element contains an xsi:type attribute and the class returned is attributed with LiquidTechnologies.XmlObjects.Attribution.LxComplexTypeDefinitionAttribute), in which case the value of rootElementQName will be needed in Serialize
    settings
    A settings to control how the data is de-serialized

    Return Value

    The de-serialized object
    Exceptions
    ExceptionDescription
    General errors
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also