Creates an object serialized into a specified XML node reader of a specified type, interface, and calling assembly.
Syntax
Visual Basic (Usage) | Copy Code |
---|
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) |
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 previously saved, or null if the object cannot be created
Remarks
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also