CodeDomSerializer.Deserialize(IDesignerSerializationManager, Object) Method

Definition

Deserializes the specified serialized CodeDOM object into an object.

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

Parameters

manager
IDesignerSerializationManager

A serialization manager interface that is used during the deserialization process.

codeObject
Object

A serialized CodeDOM object to deserialize.

Returns

The deserialized CodeDOM object.

Exceptions

manager or codeObject is null.

codeObject is an unsupported code element.

Remarks

This method uses the serialization manager to create objects and resolve data types. The root of the object graph is returned.

Applies to