共用方式為


TreeView.SaveViewState 方法

定義

儲存 TreeView 控制項的狀態。

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

傳回

Object

伺服器控制項的目前檢視狀態;如果沒有與控制項關聯的檢視狀態,則為 null

適用於