Bagikan melalui


CodeDomSerializer.Deserialize(IDesignerSerializationManager, Object) Metode

Definisi

Mendeserialisasi objek CodeDOM serial yang ditentukan ke dalam objek.

public:
 abstract System::Object ^ Deserialize(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ codeObject);
public:
 virtual System::Object ^ Deserialize(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ codeObject);
public abstract object Deserialize (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object codeObject);
public virtual object Deserialize (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object codeObject);
public virtual object? Deserialize (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object codeObject);
abstract member Deserialize : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj -> obj
abstract member Deserialize : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj -> obj
override this.Deserialize : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj -> obj
Public MustOverride Function Deserialize (manager As IDesignerSerializationManager, codeObject As Object) As Object
Public Overridable Function Deserialize (manager As IDesignerSerializationManager, codeObject As Object) As Object

Parameter

manager
IDesignerSerializationManager

Antarmuka manajer serialisasi yang digunakan selama proses deserialisasi.

codeObject
Object

Objek CodeDOM berseri untuk deserialisasi.

Mengembalikan

Objek CodeDOM yang dideserialisasi.

Pengecualian

manager atau codeObject adalah null.

codeObject adalah elemen kode yang tidak didukung.

Keterangan

Metode ini menggunakan manajer serialisasi untuk membuat objek dan menyelesaikan jenis data. Akar grafik objek dikembalikan.

Berlaku untuk