ListControl.SetPostDataSelection(Int32) メソッド

定義

ページのポスト後にSelected コントロールのListItem プロパティを設定します。

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 コントロールで選択した項目を保持するヘルパー メソッドです。

適用対象