CreateObjectInstanceAndDeserialize(XmlNodeReader,Type,Type) Method
Creates an object serialized into a specified XML node reader of a specified type and interface.
'Declaration
Public Overloads Shared Function CreateObjectInstanceAndDeserialize( _
ByVal As XmlNodeReader, _
ByVal As Type, _
ByVal As Type _
) As Object
'Usage
Dim r As XmlNodeReader
Dim type As Type
Dim saveInterface As Type
Dim value As Object
value = Serializer.CreateObjectInstanceAndDeserialize(r, type, saveInterface)
Parameters
- r
- XmlNodeReader from which to read the XML
- type
- Type of serialization support
- saveInterface
- Serialization interface to use