Parameter.IStateManager.LoadViewState(Object) 方法

定義

將資料來源檢視還原成之前所儲存的檢視狀態。Restores the data source view's previously saved view state.

 virtual void System.Web.UI.IStateManager.LoadViewState(System::Object ^ savedState) = System::Web::UI::IStateManager::LoadViewState;
void IStateManager.LoadViewState (object savedState);
abstract member System.Web.UI.IStateManager.LoadViewState : obj -> unit
override this.System.Web.UI.IStateManager.LoadViewState : obj -> unit
Sub LoadViewState (savedState As Object) Implements IStateManager.LoadViewState

參數

savedState
Object

Object,代表要還原的 Parameter 狀態。An Object that represents the Parameter state to restore.

實作

備註

這個方法 Parameter 會從方法所儲存的前一個頁面要求中,還原物件的檢視狀態資訊 SaveViewStateThis method restores view-state information for the Parameter object from a previous page request that was saved by the SaveViewState method.

這個方法主要由控制項開發人員使用。This method is used primarily by control developers. 您可以覆寫這個方法,以控制自訂伺服器控制項還原其檢視狀態的方式。You can override this method to control how a custom server control restores its view state.

適用於

另請參閱