ConnectionsZone.LoadControlState(Object) 方法
定义
可从 SaveControlState() 方法保存的上一个页请求还原控件状态信息。Restores control state information from a previous page request that was saved by the SaveControlState() method.
protected public:
override void LoadControlState(System::Object ^ savedState);
protected internal override void LoadControlState (object savedState);
override this.LoadControlState : obj -> unit
Protected Friend Overrides Sub LoadControlState (savedState As Object)
参数
例外
savedState 的长度不等于由 SaveControlState() 方法创建的数组的长度。The length of savedState does not equal the length of the array created by the SaveControlState() method.
注解
调用此方法时,它将确定控件状态是否以前已为控件保存,如果是,则将控件状态设置为保存的值。When this method is invoked, it determines whether control state was previously saved for the control and, if so, sets the control state to the saved value.