語言

ListView.IDataBoundListControl.EnablePersistedSelection 屬性

定義

取得或設定一個值,指定使用者在資料綁定控制中分頁時,所選列是否能持續存在。

property bool System::Web::UI::WebControls::IDataBoundListControl::EnablePersistedSelection { bool get(); void set(bool value); };
bool System.Web.UI.WebControls.IDataBoundListControl.EnablePersistedSelection { get; set; }
member this.System.Web.UI.WebControls.IDataBoundListControl.EnablePersistedSelection : bool with get, set
 Property EnablePersistedSelection As Boolean Implements IDataBoundListControl.EnablePersistedSelection

屬性值

true如果選擇是基於資料鍵;否則,。 false

實作

備註

此成員為明確介面成員實作。 它只能在實 ListView 例投射到 IDataBoundListControl 介面時使用。

適用於