Used by the integrated development environment (IDE) to define how imported settings are handled.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
|Specifies that a VSPackage is free to either reset settings with valid imported values, or to treat settings import as an additive or merge operation.|
This decision can be made on a per-feature basis.
|Specifies that a VSPackage should overwrite any existing settings with valid imported settings.|
|Specifies that a VSPackage should disable optimizations.|
The IDE passes registered implementations of ImportSettings flags constructed from to communicate user preferences during the Import/Export Settings operations.
For example, consider a setting that is a list. The current setting has the members A, B, and C. The settings to be retrieved contain the values D and E. When ImportSettings is called:
If the is used, the implementation of ImportSettings must overwrite the existing settings with D and E.
If the is used, the implementation of ImportSettings is free to
Overwrite the existing settings with D and E.
Merge the imported data with the current data, in this case create a new list containing A, B, C, D, and E.