ModelDataSource.SaveViewState 方法

定义

保存控件的状态。

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

返回

返回控件的当前视图状态;如果没有与此控件关联的视图状态,则返回 null

适用于