Edit

Share via


CodeDomSerializer.SerializeMember Method

Definition

Serializes the given member on the given object.

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

Parameters

manager
IDesignerSerializationManager

The serialization manager to use for serialization.

owningObject
Object

The object to which is member attached.

member
MemberDescriptor

The member to serialize.

Returns

A CodeStatementCollection representing the serialized state of member.

Exceptions

manager, owningObject, or member is null.

member is not a serializable type.

Applies to