Export (0) Print
Expand All

Formatter.Deserialize Method

When overridden in a derived class, deserializes the stream attached to the formatter when it was created, creating a graph of objects identical to the graph originally serialized into that stream.

The Formatter type is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[Visual Basic]
Public MustOverride Function Deserialize( _
   ByVal serializationStream As Stream _
) As Object Implements IFormatter.Deserialize
public abstract object Deserialize(
 Stream serializationStream
public: virtual Object* Deserialize(
 Stream* serializationStream
) = 0;
public abstract function Deserialize(
   serializationStream : Stream
) : Object;


The stream to deserialize.

Return Value

The top object of the deserialized graph of objects.




Notes to Inheritors:  You must implement this method in a derived class.


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

See Also

Formatter Class | Formatter Members | System.Runtime.Serialization Namespace | XML and SOAP Serialization

© 2015 Microsoft