Redigera

Dela via


MemberCodeDomSerializer.Serialize Method

Definition

Serializes the given member descriptor on the given value to a statement collection.

public:
 abstract void Serialize(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ value, System::ComponentModel::MemberDescriptor ^ descriptor, System::CodeDom::CodeStatementCollection ^ statements);
public abstract void Serialize (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object value, System.ComponentModel.MemberDescriptor descriptor, System.CodeDom.CodeStatementCollection statements);
abstract member Serialize : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj * System.ComponentModel.MemberDescriptor * System.CodeDom.CodeStatementCollection -> unit
Public MustOverride Sub Serialize (manager As IDesignerSerializationManager, value As Object, descriptor As MemberDescriptor, statements As CodeStatementCollection)

Parameters

manager
IDesignerSerializationManager

The serialization manager to use for serialization.

value
Object

The object to which the member is bound.

descriptor
MemberDescriptor

The descriptor of the member to serialize.

statements
CodeStatementCollection

The CodeStatementCollection into which descriptor is serialized.

Remarks

This method actually performs the serialization. When the member is serialized the necessary statements will be added to the statements collection.

Applies to

See also