Spread Windows Forms 12.0 Product Documentation
CreateObjectInstanceAndDeserialize(XmlNodeReader,Type,Type) Method


FarPoint.Win Assembly > FarPoint.Win Namespace > Serializer Class > CreateObjectInstanceAndDeserialize Method : CreateObjectInstanceAndDeserialize(XmlNodeReader,Type,Type) Method
XmlNodeReader from which to read the XML
Type of serialization support
Serialization interface to use
Creates an object serialized into a specified XML node reader of a specified type and interface.
Syntax
'Declaration
 
Public Overloads Shared Function CreateObjectInstanceAndDeserialize( _
   ByVal r As XmlNodeReader, _
   ByVal type As Type, _
   ByVal saveInterface As Type _
) As Object
'Usage
 
Dim r As XmlNodeReader
Dim type As Type
Dim saveInterface As Type
Dim value As Object
 
value = Serializer.CreateObjectInstanceAndDeserialize(r, type, saveInterface)
public static object CreateObjectInstanceAndDeserialize( 
   XmlNodeReader r,
   Type type,
   Type saveInterface
)

Parameters

r
XmlNodeReader from which to read the XML
type
Type of serialization support
saveInterface
Serialization interface to use

Return Value

New instance of the object previously saved, or null if the object cannot be created
Remarks
This method creates an object that was saved into an XML node with a SerializeObject method.
See Also

Reference

Serializer Class
Serializer Members
Overload List