CodeDomSerializer.SerializeEvents 方法

定义

对指定对象的所有事件进行序列化。

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

参数

manager
IDesignerSerializationManager

要在序列化过程中使用的序列化管理器。

statements
CodeStatementCollection

要向其中添加序列化事件语句的语句集合。

value
Object

要对其事件进行序列化的对象。

filter
Attribute[]

要应用于事件搜索的成员特性筛选器。

适用于