NoSettingsVersionUpgradeAttribute Class
Assembly: System (in system.dll)
'Declaration <AttributeUsageAttribute(AttributeTargets.Property)> _ Public NotInheritable Class NoSettingsVersionUpgradeAttribute Inherits Attribute 'Usage Dim instance As NoSettingsVersionUpgradeAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Property) */ public final class NoSettingsVersionUpgradeAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Property) public final class NoSettingsVersionUpgradeAttribute extends Attribute
To create a fully featured application settings provider that supports application versioning, the provider must implement the IApplicationSettingsProvider interface. One of the members in this interface, the Upgrade method, is called to notify the provider that a new version of the application has been installed. In response, the provider is expected to perform an appropriate action, typically migrating past application settings.
The NoSettingsVersionUpgradeAttribute informs the provider to suppress the upgrade logic associated with the current settings class. Therefore, the value of the previous version of this property group should not be migrated to the new installation.
Note |
|---|
| This attribute can only be applied to individual application settings properties. |
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Note