Partager via


CodeDomSerializer.Serialize(IDesignerSerializationManager, Object) Méthode

Définition

Sérialise l’objet spécifié en un objet CodeDOM.

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

Paramètres

manager
IDesignerSerializationManager

Gestionnaire de sérialisation à utiliser pendant la sérialisation.

value
Object

L'objet à sérialiser.

Retours

Objet CodeDOM représentant l'objet qui a été sérialisé.

Exceptions

manager ou value est null.

S’applique à