Bagikan melalui


CodeDomSerializer.SerializeEvents Metode

Definisi

Menserialisasikan semua peristiwa objek yang ditentukan.

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())

Parameter

manager
IDesignerSerializationManager

Manajer serialisasi yang digunakan selama serialisasi.

statements
CodeStatementCollection

Kumpulan pernyataan tempat pernyataan peristiwa serial ditambahkan.

value
Object

Objek yang peristiwanya akan diserialisasikan.

filter
Attribute[]

Filter atribut anggota untuk diterapkan ke pencarian peristiwa.

Berlaku untuk