CodeDomSerializerBase.GetEventsHelper 方法

定义

获取项目目标 .NET 版本中定义的事件的集合。

protected:
 static System::ComponentModel::EventDescriptorCollection ^ GetEventsHelper(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ instance, cli::array <Attribute ^> ^ attributes);
protected static System.ComponentModel.EventDescriptorCollection GetEventsHelper (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object instance, Attribute[] attributes);
protected static System.ComponentModel.EventDescriptorCollection GetEventsHelper (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object instance, Attribute[]? attributes);
static member GetEventsHelper : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj * Attribute[] -> System.ComponentModel.EventDescriptorCollection
Protected Shared Function GetEventsHelper (manager As IDesignerSerializationManager, instance As Object, attributes As Attribute()) As EventDescriptorCollection

参数

manager
IDesignerSerializationManager

序列化管理器。

instance
Object

目标类型的对象。

attributes
Attribute[]

要传递给目标 .NET 版本的特性的数组。

返回

项目目标 .NET 版本中定义的事件的集合。

适用于