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);
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。

適用於