Formatter.Deserialize(Stream) Formatter.Deserialize(Stream) Formatter.Deserialize(Stream) Formatter.Deserialize(Stream) Method

定義

當覆寫於衍生類別時,還原序列化建立時即附加至格式子的資料流,建立與原本序列化至資料流之 Graph 相同的物件 Graph。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.

public:
 abstract System::Object ^ Deserialize(System::IO::Stream ^ serializationStream);
public abstract object Deserialize (System.IO.Stream serializationStream);
abstract member Deserialize : System.IO.Stream -> obj
Public MustOverride Function Deserialize (serializationStream As Stream) As Object

參數

serializationStream
Stream Stream Stream Stream

要還原序列化的資料流。The stream to deserialize.

傳回

還原序列化物件 Graph 的最上層物件。The top object of the deserialized graph of objects.

實作

給繼承者的注意事項

您必須在衍生類別中實作這個方法。You must implement this method in a derived class.

適用於

另請參閱