Udostępnij za pośrednictwem


CodeDomSerializer.Serialize(IDesignerSerializationManager, Object) Metoda

Definicja

Serializuje określony obiekt w obiekcie 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

Parametry

manager
IDesignerSerializationManager

Menedżer serializacji do użycia podczas serializacji.

value
Object

Obiekt do serializacji.

Zwraca

Obiekt CodeDOM reprezentujący obiekt, który został serializowany.

Wyjątki

manager lub value to null.

Dotyczy