CodeDomSerializerBase.GetEventsHelper 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得專案之 .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 目標版本中定義的事件集合。