CodeDomComponentSerializationService::SerializeMember Method (SerializationStore^, Object^, MemberDescriptor^)

 

Serializes the given member on the given object.

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System.Design (in System.Design.dll)

public:
virtual void SerializeMember(
	SerializationStore^ store,
	Object^ owningObject,
	MemberDescriptor^ member
) override

Parameters

store
Type: System.ComponentModel.Design.Serialization::SerializationStore^

The SerializationStore to which member will be serialized.

owningObject
Type: System::Object^

The object that owns the member.

member
Type: System.ComponentModel::MemberDescriptor^

The given member.

Exception Condition
ArgumentNullException

store, owningObject, or member is null.

InvalidOperationException

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

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.

.NET Framework
Available since 2.0
Return to top
Show: