แก้ไข

แชร์ผ่าน


CodeDomSerializer.SerializeEvents Method

Definition

Serializes all events of the specified object.

protected:
 void SerializeEvents(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::CodeDom::CodeStatementCollection ^ statements, System::Object ^ value, cli::array <Attribute ^> ^ filter);
protected void SerializeEvents (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeStatementCollection statements, object value, Attribute[] filter);
member this.SerializeEvents : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * System.CodeDom.CodeStatementCollection * obj * Attribute[] -> unit
Protected Sub SerializeEvents (manager As IDesignerSerializationManager, statements As CodeStatementCollection, value As Object, filter As Attribute())

Parameters

manager
IDesignerSerializationManager

The serialization manager to use during serialization.

statements
CodeStatementCollection

A statements collection to which serialized event statements are added.

value
Object

The object whose events are to be serialized.

filter
Attribute[]

A member attribute filter to apply to the event search.

Applies to