ComponentSerializationService.SerializeMember Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes the given member on the given object.
public:
abstract void SerializeMember(System::ComponentModel::Design::Serialization::SerializationStore ^ store, System::Object ^ owningObject, System::ComponentModel::MemberDescriptor ^ member);
public abstract void SerializeMember (System.ComponentModel.Design.Serialization.SerializationStore store, object owningObject, System.ComponentModel.MemberDescriptor member);
abstract member SerializeMember : System.ComponentModel.Design.Serialization.SerializationStore * obj * System.ComponentModel.MemberDescriptor -> unit
Public MustOverride Sub SerializeMember (store As SerializationStore, owningObject As Object, member As MemberDescriptor)
Parameters
- store
- SerializationStore
The SerializationStore to which the state of member
will be serialized.
- owningObject
- Object
The object to which member
is attached.
- member
- MemberDescriptor
A MemberDescriptor specifying the member to serialize.
Exceptions
store
or value
is null
.
store
is closed, or store
is not a supported type of serialization store. Use a store returned by CreateStore().
Remarks
The SerializeMember method can be invoked multiple times for the same object to build up a list of serialized members within the serialization store. In general, the member should be a property or an event.