Assembly: System (in system.dll)
[AttributeUsageAttribute(AttributeTargets.Property)] public sealed class NoSettingsVersionUpgradeAttribute : Attribute
/** @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.
This attribute can only be applied to individual application settings properties.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.