CodeDomSerializer.SerializeMember Methode

Definition

Serialisiert den angegebenen Member für das angegebene Objekt.

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

Der Serialisierungs-Manager, der für die Serialisierung verwendet werden soll.

owningObject
Object

Ein Objekt, dem member angefügt ist.

member
MemberDescriptor

Der zu serialisierende Member.

Gibt zurück

CodeStatementCollection zur Darstellung des serialisierten Zustands von member.

Ausnahmen

manager, owningObject oder member ist null.

member ist kein serialisierbarer Typ.

Gilt für: