CodeDomSerializer.Serialize(IDesignerSerializationManager, Object) Method

Definition

Serializes the specified object into a CodeDOM object.

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

Parameters

manager
IDesignerSerializationManager

The serialization manager to use during serialization.

value
Object

The object to serialize.

Returns

A CodeDOM object representing the object that has been serialized.

Exceptions

manager or value is null.

Applies to