共用方式為


ListBox.OnSelectedIndexChanged(EventArgs) 方法

定義

引發 SelectedValueChanged 事件。

protected:
 override void OnSelectedIndexChanged(EventArgs ^ e);
protected override void OnSelectedIndexChanged (EventArgs e);
override this.OnSelectedIndexChanged : EventArgs -> unit
Protected Overrides Sub OnSelectedIndexChanged (e As EventArgs)

參數

e
EventArgs

包含事件資料的 EventArgs

適用於