ערוך

שתף באמצעות


ComponentSerializationService.SerializeMember Method

Definition

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.

Applies to

See also