ListControl.SetPostDataSelection(Int32) 方法

定義

設定在張貼頁面之後,ListItem 控制項的 Selected 屬性。

protected:
 void SetPostDataSelection(int selectedIndex);
protected void SetPostDataSelection (int selectedIndex);
member this.SetPostDataSelection : int -> unit
Protected Sub SetPostDataSelection (selectedIndex As Integer)

參數

selectedIndex
Int32

Items 集合中選取項目的索引。

備註

方法是 SetPostDataSelection 協助程式方法,會在張貼頁面之後,維護控制項中 ListControl 選取的專案。

適用於