Spread for ASP.NET 9.0 Product Documentation
CreateObjectInstanceAndDeserialize(XmlNodeReader,Type,Type,Assembly) Method


XmlNodeReader from which to read the XML
Type
Serialization interface to use
Calling assembly object
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 _
) As Object
'Usage
 
Dim r As XmlNodeReader
Dim type As Type
Dim saveInterface As Type
Dim callingAssembly As Assembly
Dim value As Object
 
value = Serializer.CreateObjectInstanceAndDeserialize(r, type, saveInterface, callingAssembly)
public static object CreateObjectInstanceAndDeserialize( 
   XmlNodeReader r,
   Type type,
   Type saveInterface,
   Assembly callingAssembly
)

Parameters

r
XmlNodeReader from which to read the XML
type
Type
saveInterface
Serialization interface to use
callingAssembly
Calling assembly object

Return Value

New instance of the object that was saved, or null if the object cannot be created
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Serializer Class
Serializer Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.