LoadObject(Type,Stream,String) Method
Loads an object from a stream previously saved with Serializer.SaveObject.
'Declaration
Public Overloads Shared Function LoadObject( _
ByVal As Type, _
ByVal As Stream, _
ByVal As String _
) As Object
'Usage
Dim type As Type
Dim stream As Stream
Dim elementName As String
Dim value As Object
value = Serializer.LoadObject(type, stream, elementName)
Parameters
- type
- Type of object
- stream
- Stream from which to load the object
- elementName
- Name of root element node for object