CodeDomComponentSerializationService.SerializeMember Method

Definition

Serializes the given member on the given object.

public:
 override void SerializeMember(System::ComponentModel::Design::Serialization::SerializationStore ^ store, System::Object ^ owningObject, System::ComponentModel::MemberDescriptor ^ member);
public override void SerializeMember (System.ComponentModel.Design.Serialization.SerializationStore store, object owningObject, System.ComponentModel.MemberDescriptor member);
override this.SerializeMember : System.ComponentModel.Design.Serialization.SerializationStore * obj * System.ComponentModel.MemberDescriptor -> unit
Public Overrides Sub SerializeMember (store As SerializationStore, owningObject As Object, member As MemberDescriptor)

Parameters

store
SerializationStore

The SerializationStore to which member will be serialized.

owningObject
Object

The object that owns the member.

member
MemberDescriptor

The given member.

Exceptions

store, owningObject, or member is null.

store is closed, or store is not a supported type of serialization store. Use a store returned by CreateStore().

Remarks

This method can be invoked multiple times for the same object to build up a list of serialized members within the serialization store. The member generally has to be a property or an event.

Applies to