System.Web 2.0.0.0

When you upgrade a Web Parts control to a newer version, there might be changes to the personalizable properties on the upgraded class. For example, an upgraded version of a Web Parts control might no longer support properties that were available in previous versions. In such a scenario, the Web Parts control set might load personalization data from the underlying data store, but have no properties against which to apply this data. If a control implements the interface, the Web Parts control is passed the orphaned personalization data. The application can then use this data to update properties in the newer version, or use the data in some other manner. Note that if orphaned properties are detected when importing Web Parts controls, the method is also called.

Represents an interface that can manage personalization data belonging to a previous version of a Web Parts control.

- Method
  System.Void ``

  The parameter contains a merged representation of unknown personalization data, of both "User" and "Shared" scope, that could not be applied to the control. When a page is running in user scope, the unknown user-scope values are supplied (if available) rather than unknown shared-scope values. This information is stored as a series of name/value pairs where each name is the string name of a property that was not found on the control and each value contains the property value. It is the responsibility of the control to cast or convert the value to the appropriate type and carry out further processing (such as mapping data from an old property to a new property).

  If a control's state changes, it should call (either the inherited method, or the public static method in the case of a control that does not derive from ). If a control marks itself as "dirty", the Web Parts control set will extract personalization data from the control, regardless of the control's "dirty" state, and save it back to the underlying data store later in the personalization life cycle. A control should mark itself as "dirty" if, as a result of processing the values in the parameter, the control's state has changed.

  Note that if orphaned properties are detected when importing Web Parts controls, this method is automatically called.

  Loads personalization data to a Web Parts control that does not have a corresponding personalized property for the data due to a version change.

  true if the personalization data was successfully loaded; otherwise, false.

  A dictionary of personalization data that could not be applied to a control. 2.0.0.0