ListView.SelectItem(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Selects the item that is in edit mode in a ListView control.
public:
void SelectItem(int rowIndex);
public void SelectItem (int rowIndex);
member this.SelectItem : int -> unit
Public Sub SelectItem (rowIndex As Integer)
Parameters
- rowIndex
- Int32
The index of the item that is in edit mode.
Exceptions
The item index is negative.
Remarks
This method raises the SelectedIndexChanged event.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.