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


XmlNodeReader from which to read the XML
Type of serialization support
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 _
) As Object
'Usage
 
Dim r As XmlNodeReader
Dim type As Type
Dim value As Object
 
value = Serializer.CreateObjectInstanceAndDeserialize(r, type)
public static object CreateObjectInstanceAndDeserialize( 
   XmlNodeReader r,
   Type type
)

Parameters

r
XmlNodeReader from which to read the XML
type
Type of serialization support

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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Serializer Class
Serializer Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.