CodeDomSerializer.Deserialize(IDesignerSerializationManager, Object) 方法

定义

将指定的已序列化的 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 对象。

例外

managercodeObjectnull

codeObject 是不受支持的代码元素。

注解

此方法使用序列化管理器来创建对象并解析数据类型。 返回对象图的根。

适用于