共用方式為


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

適用於