語言

DriveListBoxArray.SelectionChangeCommitted 事件

定義

當所選項目變更,且該變更顯示在 DriveListBox中時,會發生。

public:
 event EventHandler ^ SelectionChangeCommitted;
public event EventHandler SelectionChangeCommitted;
member this.SelectionChangeCommitted : EventHandler 
Public Custom Event SelectionChangeCommitted As EventHandler 
Public Event SelectionChangeCommitted As EventHandler 

事件類型

備註

SelectionChangeCommitted 只有當使用者更改組合框選擇時才會升高。 請勿使用 SelectedIndexChanged 或 SelectedValueChanged 擷取使用者變更,因為當選擇在程式變更時,這些事件也會被觸發。

欲了解更多如何處理事件的資訊,請參閱 「處理與提升事件」。

Note

命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。

適用於