CodeDomSerializer.Deserialize(IDesignerSerializationManager, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定序列化的 CodeDOM 物件還原序列化為物件。
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
參數
- manager
- IDesignerSerializationManager
在還原序列化過程中所使用的序列化管理員介面。
- codeObject
- Object
要還原序列化的序列化 CodeDOM 物件。
傳回
還原序列化的 CodeDOM 物件。
例外狀況
manager
或 codeObject
為 null
。
codeObject
是不支援的程式碼項目。
備註
這個方法會使用串行化管理員來建立物件並解析數據類型。 會傳回物件圖形的根目錄。