SqlScriptEditorControl.MultiServerPropertiesDisplay.GetEvents 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得這個實例的事件。
多載
| 名稱 | Description |
|---|---|
| GetEvents(Attribute[]) |
利用指定的屬性陣列作為過濾器,取得此實例的事件。 |
| GetEvents() |
取得這個實例的事件。 |
GetEvents(Attribute[])
利用指定的屬性陣列作為過濾器,取得此實例的事件。
public:
virtual System::ComponentModel::EventDescriptorCollection ^ GetEvents(cli::array <Attribute ^> ^ attributes);
public System.ComponentModel.EventDescriptorCollection GetEvents(Attribute[] attributes);
abstract member GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
override this.GetEvents : Attribute[] -> System.ComponentModel.EventDescriptorCollection
Public Function GetEvents (attributes As Attribute()) As EventDescriptorCollection
參數
傳回
一個代表此實例事件的 EventDescriptorCollection 物件。
實作
適用於
GetEvents()
取得這個實例的事件。
public:
virtual System::ComponentModel::EventDescriptorCollection ^ GetEvents();
public System.ComponentModel.EventDescriptorCollection GetEvents();
abstract member GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
override this.GetEvents : unit -> System.ComponentModel.EventDescriptorCollection
Public Function GetEvents () As EventDescriptorCollection
傳回
一個代表此實例事件的 EventDescriptorCollection 物件。