Login.SaveViewState 方法

定义

保存调用 TrackViewState() 方法后修改的任何状态。Saves any state that was modified after the TrackViewState() method was invoked.

protected:
 override System::Object ^ SaveViewState();
protected override object SaveViewState ();
override this.SaveViewState : unit -> obj
Protected Overrides Function SaveViewState () As Object

返回

一个包含该控件的当前视图状态的对象;如果没有与该控件关联的视图状态,则为 nullAn object that contains the current view state of the control; otherwise, if there is no view state associated with the control, null.

适用于

另请参阅