Partager via


CodeDomSerializer.SerializeMember Méthode

Définition

Sérialise le membre donné sur l’objet donné.

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

Paramètres

manager
IDesignerSerializationManager

Gestionnaire de sérialisation à utiliser pour la sérialisation.

owningObject
Object

Objet auquel member est attaché.

member
MemberDescriptor

Membre à sérialiser.

Retours

CodeStatementCollection qui représente l’état sérialisé de member.

Exceptions

manager, owningObject ou member est null.

member n’est pas un type sérialisable.

S’applique à