共用方式為


DataGrid.SaveViewState 方法

定義

儲存 DataGrid 的目前狀態。

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

傳回

Object

DataGrid 的儲存狀態。

適用於