CodeDomSerializer.Deserialize Method (IDesignerSerializationManager, Object)

 

Deserializes the specified serialized CodeDOM object into an object.

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System.Design (in System.Design.dll)

public virtual object Deserialize(
	IDesignerSerializationManager manager,
	object codeObject
)

Parameters

manager
Type: System.ComponentModel.Design.Serialization.IDesignerSerializationManager

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

codeObject
Type: System.Object

A serialized CodeDOM object to deserialize.

Return Value

Type: System.Object

The deserialized CodeDOM object.

Exception Condition
ArgumentNullException

manager or codeObject is null.

ArgumentException

codeObject is an unsupported code element.

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

.NET Framework
Available since 1.1
Return to top
Show: