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

适用于