ListControl.LoadViewState(Object) 方法

定义

加载以前保存的 DetailsView 控件的视图状态。Loads the previously saved view state of the DetailsView control.

protected:
 override void LoadViewState(System::Object ^ savedState);
protected override void LoadViewState (object savedState);
override this.LoadViewState : obj -> unit
Protected Overrides Sub LoadViewState (savedState As Object)

参数

savedState
Object

一个 Object,表示从 ListControl 派生的控件的状态。An Object that represents the state of the ListControl -derived control.

注解

方法用于加载以前保存的派生控件的视图状态ListControlLoadViewStateThe LoadViewState method is used to load the previously saved view state of the ListControl -derived control.

备注

此方法主要由控件开发人员在扩展ListControl控件时使用。This method is used primarily by control developers when extending the ListControl control.

适用于

另请参阅