Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / Serializer Class / CreateObjectInstanceAndDeserialize Method / CreateObjectInstanceAndDeserialize(XmlNodeReader,Type,Boolean) Method
XmlNodeReader from which to read the XML
Type of serialization support
Whether read the closing tag


In This Topic
    CreateObjectInstanceAndDeserialize(XmlNodeReader,Type,Boolean) Method
    In This Topic
    Creates an object serialized into a specified XML node reader of a specified type.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function CreateObjectInstanceAndDeserialize( _
       ByVal r As XmlNodeReader, _
       ByVal type As Type, _
       ByVal readClosingTag As Boolean _
    ) As Object
    'Usage
     
    
    Dim r As XmlNodeReader
    Dim type As Type
    Dim readClosingTag As Boolean
    Dim value As Object
     
    value = Serializer.CreateObjectInstanceAndDeserialize(r, type, readClosingTag)
    public static object CreateObjectInstanceAndDeserialize( 
       XmlNodeReader r,
       Type type,
       bool readClosingTag
    )

    Parameters

    r
    XmlNodeReader from which to read the XML
    type
    Type of serialization support
    readClosingTag
    Whether read the closing tag
    See Also