CodeDomSerializer.Serialize(IDesignerSerializationManager, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes the specified object into a CodeDOM object.
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
Parameters
- manager
- IDesignerSerializationManager
The serialization manager to use during serialization.
- value
- Object
The object to serialize.
Returns
A CodeDOM object representing the object that has been serialized.
Exceptions
manager
or value
is null
.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.