ModelDataSourceView.SaveViewState 方法

定义

保存自页回发到服务器后,ModelDataSourceView 对象的视图状态更改。

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

返回

Object

包含 ModelDataSourceView 视图状态更改的对象;否则,如果没有与对象关联的视图状态,则为 null

适用于