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
[C#]
public abstract object Deserialize(
 Stream serializationStream
);
[C++]
public: virtual Object* Deserialize(
 Stream* serializationStream
) = 0;
[JScript]
public abstract function Deserialize(
   serializationStream : Stream
) : Object;

Parameters

serializationStream
The stream to deserialize.

Return Value

The top object of the deserialized graph of objects.

Implements

IFormatter.Deserialize

Remarks

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

Requirements

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

Show:
© 2015 Microsoft