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 As XmlNodeReader, _
ByVal As Type, _
ByVal As Type, _
ByVal As Assembly, _
ByVal 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 ,
Type ,
Type ,
Assembly ,
object
)
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.
See Also