편집

다음을 통해 공유


DependencyObjectCodeDomSerializer.Serialize Method

Definition

Serializes the specified object into a CodeDOM object.

public:
 override System::Object ^ Serialize(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ obj);
public override object Serialize (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object obj);
override this.Serialize : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj -> obj
Public Overrides Function Serialize (manager As IDesignerSerializationManager, obj As Object) As Object

Parameters

manager
IDesignerSerializationManager

The serialization manager to use during serialization.

obj
Object

The Object to serialize.

Returns

A CodeDOM object that represents the object that has been serialized.

Exceptions

manager or obj contains a null reference (Nothing in Visual Basic).

obj cannot be converted to a DependencyObject.

Applies to