Bagikan melalui


CodeDomSerializer.SerializeMember Metode

Definisi

Menserialisasikan anggota yang diberikan pada objek yang diberikan.

public:
 virtual System::CodeDom::CodeStatementCollection ^ SerializeMember(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ owningObject, System::ComponentModel::MemberDescriptor ^ member);
public virtual System.CodeDom.CodeStatementCollection SerializeMember (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object owningObject, System.ComponentModel.MemberDescriptor member);
abstract member SerializeMember : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj * System.ComponentModel.MemberDescriptor -> System.CodeDom.CodeStatementCollection
override this.SerializeMember : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj * System.ComponentModel.MemberDescriptor -> System.CodeDom.CodeStatementCollection
Public Overridable Function SerializeMember (manager As IDesignerSerializationManager, owningObject As Object, member As MemberDescriptor) As CodeStatementCollection

Parameter

manager
IDesignerSerializationManager

Manajer serialisasi yang digunakan untuk serialisasi.

owningObject
Object

Objek yang dilampirkan member .

member
MemberDescriptor

Anggota yang akan diserialisasikan.

Mengembalikan

yang CodeStatementCollection mewakili status serial dari member.

Pengecualian

manager, owningObject, atau member adalah null.

member bukan jenis yang dapat diserialisasikan.

Berlaku untuk