ListView.IDataBoundListControl.EnablePersistedSelection 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定值,這個值指定當使用者逐頁巡覽資料繫結控制項中的資料時,是否保存某個資料列的選取狀態。
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 介面時,才能使用這個成員。