Defines the metadata attribute that specifies how an ASP.NET server control property or event is persisted to an ASP.NET page at design time. This class cannot be inherited.
See Also: PersistenceModeAttribute Members
For more information about using attributes, see Extending Metadata Using Attributes.
The Web page designer in Visual Studio does not support the ResetPropertyName method that is optionally exposed by Windows Forms controls for property persistence. Server controls are serialized using methods provided by the System.Web.UI.Design.ControlPersister class. The implementation of these methods is driven by metadata attributes such as System.ComponentModel.DefaultValueAttribute, System.Web.UI.PersistenceModeAttribute, and System.ComponentModel.DesignerSerializationVisibilityAttribute.