Freigeben über


CodeDomSerializer.Serialize(IDesignerSerializationManager, Object) Methode

Definition

Serialisiert das angegebene Objekt in ein CodeDOM-Objekt.

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

Parameter

manager
IDesignerSerializationManager

Der Serialisierungs-Manager, der während der Serialisierung verwendet werden soll.

value
Object

Das zu serialisierende Objekt.

Gibt zurück

Ein CodeDOM-Objekt, das das serialisierte Objekt darstellt.

Ausnahmen

manager oder value ist null.

Gilt für: