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 中定义的事件集合。

适用于