Partilhar via


CodeDomSerializer.SerializeMember Método

Definição

Serializa o membro fornecido no 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

O gerenciador de serialização a ser usado para serialização.

owningObject
Object

O objeto ao qual é member anexado.

member
MemberDescriptor

O nome do membro a serializar.

Retornos

Um CodeStatementCollection que representa o estado serializado do member.

Exceções

manager, owningObject ou member é null.

member não é um tipo serializável.

Aplica-se a