Login.LoadViewState(Object) 方法

定義

從上一個使用 SaveViewState() 方法儲存的要求中,還原檢視狀態資訊。Restores view-state information from a previous request that was saved with the SaveViewState() method.

protected:
 override void LoadViewState(System::Object ^ savedState);
protected override void LoadViewState (object savedState);
override this.LoadViewState : obj -> unit
Protected Overrides Sub LoadViewState (savedState As Object)

參數

savedState
Object

表示要還原之控制項狀態的物件。An object that represents the control state to restore.

例外狀況

savedState 不是有效的 ViewStatesavedState is not a valid ViewState.

適用於

另請參閱