Edit

Share via


IVersioningPersonalizable Interface

Definition

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

public interface class IVersioningPersonalizable
public interface IVersioningPersonalizable
type IVersioningPersonalizable = interface
Public Interface IVersioningPersonalizable

Remarks

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 IVersioningPersonalizable 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 Load method is also called.

Methods

Load(IDictionary)

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

Applies to

See also