Repeater.SaveViewState 方法

定义

保存自页回发到服务器后发生的所有视图状态更改。Saves any view-state changes that have occurred since the time the page was posted back to the server.

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

返回

控件当前的视图状态。The control's current view state. 如果没有与该控件关联的视图状态,则此方法返回 nullIf there is no view state associated with the control, this method returns null.

适用于