Condividi tramite


CodeDomSerializer.Serialize(IDesignerSerializationManager, Object) Metodo

Definizione

Serializza l'oggetto specificato in un oggetto 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

Parametri

manager
IDesignerSerializationManager

Gestore della serializzazione da utilizzare durante la serializzazione.

value
Object

Oggetto da serializzare.

Restituisce

Oggetto CodeDOM che rappresenta l'oggetto serializzato.

Eccezioni

manager o value è null.

Si applica a