Sdílet prostřednictvím


CodeDomSerializer.SerializeMember Metoda

Definice

Serializuje daný člen na daném objektu.

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

Parametry

manager
IDesignerSerializationManager

Správce serializace, který se má použít pro serializaci.

owningObject
Object

Objekt, ke kterému je member připojen.

member
MemberDescriptor

Člen serializace.

Návraty

A CodeStatementCollection představující serializovaný stav .member

Výjimky

manager, owningObjectnebo member je null.

member není serializovatelný typ.

Platí pro