Spread Windows Forms 6.0 Product Documentation
CreateObjectInstanceAndDeserialize(XmlNodeReader,Type,Type,Assembly,Object) Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > Serializer Class > CreateObjectInstanceAndDeserialize Method : CreateObjectInstanceAndDeserialize(XmlNodeReader,Type,Type,Assembly,Object) Method


r
XmlNodeReader from which to read the XML
type
Type
saveInterface
Serialization interface to use
callingAssembly
Calling assembly object
instantiatedObject
The instantiated object which will receive deserialized data.

Glossary Item Box

Creates an object serialized into a specified XML node reader of a specified type, interface, and calling assembly.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function CreateObjectInstanceAndDeserialize( _
   ByVal r As XmlNodeReader, _
   ByVal type As Type, _
   ByVal saveInterface As Type, _
   ByVal callingAssembly As Assembly, _
   ByVal instantiatedObject As Object _
) As Object
Visual Basic (Usage)Copy Code
Dim r As XmlNodeReader
Dim type As Type
Dim saveInterface As Type
Dim callingAssembly As Assembly
Dim instantiatedObject As Object
Dim value As Object
 
value = Serializer.CreateObjectInstanceAndDeserialize(r, type, saveInterface, callingAssembly, instantiatedObject)
C# 
public static object CreateObjectInstanceAndDeserialize( 
   XmlNodeReader r,
   Type type,
   Type saveInterface,
   Assembly callingAssembly,
   object instantiatedObject
)

Parameters

r
XmlNodeReader from which to read the XML
type
Type
saveInterface
Serialization interface to use
callingAssembly
Calling assembly object
instantiatedObject
The instantiated object which will receive deserialized data.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.