ComponentSerializationService::SerializeMember Method (SerializationStore^, Object^, MemberDescriptor^)
.NET Framework (current version)
Serializes the given member on the given object.
Assembly: System (in System.dll)
public: virtual void SerializeMember( SerializationStore^ store, Object^ owningObject, MemberDescriptor^ member ) abstract
Parameters
- store
-
Type:
System.ComponentModel.Design.Serialization::SerializationStore^
The SerializationStore to which the state of member will be serialized.
- owningObject
-
Type:
System::Object^
The object to which member is attached.
- member
-
Type:
System.ComponentModel::MemberDescriptor^
A MemberDescriptor specifying the member to serialize.
| Exception | Condition |
|---|---|
| ArgumentNullException | store or value is null. |
| InvalidOperationException | store is closed, or store is not a supported type of serialization store. Use a store returned by CreateStore. |
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: