Spread ASP.NET 6.0 Product Documentation
CreateObjectInstanceAndDeserialize(XmlNodeReader,Type,Type) Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > Serializer Class > CreateObjectInstanceAndDeserialize Method : CreateObjectInstanceAndDeserialize(XmlNodeReader,Type,Type) Method


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

Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function CreateObjectInstanceAndDeserialize( _
   ByVal r As XmlNodeReader, _
   ByVal type As Type, _
   ByVal saveInterface As Type _
) As Object
Visual Basic (Usage)Copy Code
Dim r As XmlNodeReader
Dim type As Type
Dim saveInterface As Type
Dim value As Object
 
value = Serializer.CreateObjectInstanceAndDeserialize(r, type, saveInterface)
C# 
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 that was saved, or null if the object cannot be created

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.