SettingsManager Class
Represents the settings stored in Visual Studio.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Settings.SettingsManager
Microsoft.VisualStudio.Settings.ExternalSettingsManager
Microsoft.VisualStudio.Shell.Settings.ShellSettingsManager
Namespace: Microsoft.VisualStudio.Settings
Assembly: Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
Syntax
'Declaration
Public MustInherit Class SettingsManager
public abstract class SettingsManager
public ref class SettingsManager abstract
[<AbstractClass>]
type SettingsManager = class end
public abstract class SettingsManager
The SettingsManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SettingsManager |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetApplicationDataFolder | Returns the folder that Visual Studio uses for storing various files such as cache files, backup files, and template files. | |
GetCollectionScopes | Outputs the scopes that contain the given collection. | |
GetCommonExtensionsSearchPaths | Returns the list of folders that Visual Studio uses to install or look for machine-wide extensions. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPropertyScopes | Outputs the scopes that contain the given property. | |
GetReadOnlySettingsStore | Provides the SettingsStore class for the requested scope which can be used for read-only operations. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWritableSettingsStore | Provides the WritableSettingsStore class for the requested scope which can be used for reading operations and writing operations. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
By using this class, you can search for properties and collections in different scopes. It contains references to the SettingsStore class and the WritableSettingsStore class for further manipulation of the properties and collections in the scopes.
SettingsManager is an abstract base class. The ExternalSettingsManager class implements SettingsManager and allows applications to access settings in Visual Studio or an isolated shell.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.