Bagikan melalui


Formatter.Deserialize(Stream) Metode

Definisi

Perhatian

BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.

Saat ditimpa di kelas turunan, deserialisasi aliran yang dilampirkan ke pemformat saat dibuat, membuat grafik objek yang identik dengan grafik yang awalnya diserialisasikan ke dalam aliran tersebut.

public:
 abstract System::Object ^ Deserialize(System::IO::Stream ^ serializationStream);
[System.Obsolete("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId="SYSLIB0011", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public abstract object Deserialize (System.IO.Stream serializationStream);
public abstract object Deserialize (System.IO.Stream serializationStream);
[<System.Obsolete("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId="SYSLIB0011", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member Deserialize : System.IO.Stream -> obj
abstract member Deserialize : System.IO.Stream -> obj
Public MustOverride Function Deserialize (serializationStream As Stream) As Object

Parameter

serializationStream
Stream

Aliran untuk deserialisasi.

Mengembalikan

Objek atas grafik objek yang dideserialisasi.

Penerapan

Atribut

Catatan Bagi Implementer

Anda harus menerapkan metode ini di kelas turunan.

Berlaku untuk

Lihat juga