DataSourceView.Events 屬性

定義

取得資料來源檢視的事件處理常式委派清單。Gets a list of event-handler delegates for the data source view.

protected:
 property System::ComponentModel::EventHandlerList ^ Events { System::ComponentModel::EventHandlerList ^ get(); };
protected System.ComponentModel.EventHandlerList Events { get; }
member this.Events : System.ComponentModel.EventHandlerList
Protected ReadOnly Property Events As EventHandlerList

屬性值

EventHandlerList

事件處理常式委派的清單。The list of event-handler delegates.

備註

這個屬性的型別是 EventHandlerList ,它會使用線性搜尋演算法來尋找委派清單中的專案。This property is of type EventHandlerList, which uses a linear search algorithm to find entries in the list of delegates. 線性搜尋演算法在處理大量專案時沒有效率。A linear search algorithm is inefficient when working with a large number of entries. 因此,當您有大型的清單時,尋找具有這個屬性的專案將會變慢。Therefore, when you have a large list, finding entries with this property will be slow.

適用於