Compartir a través de


CodeDomSerializer.SerializeMember Método

Definición

Serializa al miembro especificado en el objeto especificado.

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

Parámetros

manager
IDesignerSerializationManager

El administrador de serialización que se va a usar para la serialización.

owningObject
Object

Objeto al que member se adjunta.

member
MemberDescriptor

Miembro que se va a serializar.

Devoluciones

CodeStatementCollection que representa el estado serializado de member.

Excepciones

manager, owningObject o member es null.

member no es un tipo serializable.

Se aplica a