Comparteix a través de


CodeDomSerializer.Deserialize(IDesignerSerializationManager, Object) Método

Definición

Deserializa el objeto CodeDOM serializado especificado en un objeto.

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

Parámetros

manager
IDesignerSerializationManager

Interfaz del administrador de serialización que se utiliza durante el proceso de deserialización.

codeObject
Object

Objeto CodeDOM serializado que se va a deserializar.

Devoluciones

Objeto CodeDOM deserializado.

Excepciones

manager o codeObject es null.

codeObject es un elemento de código no compatible.

Comentarios

Este método usa el administrador de serialización para crear objetos y resolver tipos de datos. Se devuelve la raíz del gráfico de objetos.

Se aplica a