GridView.SaveViewState 方法

定义

加载以前保存的 GridView 控件的视图状态。Loads the previously saved view state of the GridView control.

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

返回

Object

包含保存的控件视图状态值的 ObjectA Object that contains the saved view state values for the control.

适用于