Spread Windows Forms 8.0 Product Documentation
CreateObjectInstanceAndDeserialize(XmlNodeReader,Type,Type,Assembly,Object) Method


XmlNodeReader from which to read the XML
Type
Serialization interface to use
Calling assembly object
The instantiated object which will receive deserialized data.
Creates an object serialized into a specified XML node reader of a specified type, interface, and calling assembly.
Syntax
'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
'Usage
 
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)
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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

Serializer Class
Serializer Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.