Share via


SettingsManager Class

Definition

This is the gateway class to reach for the settings stored inside the Visual Studio. It provides two basic functionality. It allows to search for properties and collections inside the scopes. It hands the SettingsStore and WritableSettingsStore classes for further manipulation of the collections and properties within the scopes.

public ref class SettingsManager abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class SettingsManager abstract
[Windows::Foundation::Metadata::WebHostHidden]
class SettingsManager abstract
public abstract class SettingsManager
type SettingsManager = class
Public MustInherit Class SettingsManager
Inheritance
SettingsManager
Derived

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.

Constructors

SettingsManager()

Initializes a new instance of the SettingsManager.

Methods

GetApplicationDataFolder(ApplicationDataFolder)

Returns the folder that Visual Studio uses for storing various cache, backup, template, etc. files

GetCollectionScopes(String)

Outputs the scopes that contain the given collection. If more than one scope contains the collection, the corresponding bit flags of those scopes are set.

GetCommonExtensionsSearchPaths()

Returns the list of folders that Visual Studio uses for installing/discovering machine-wide extensions.

GetPropertyScopes(String, String)

Outputs the scopes that contain the given property. If more than one scope contains the property, the corresponding bit flags of those scopes are set.

GetReadOnlySettingsStore(SettingsScope)

Provides the SettingsStore class for the requested scope which can be used for read-only operations.

GetWritableSettingsStore(SettingsScope)

Provides the WritableSettingsStore class for the requested scope which can be used both for reading and writing.

Applies to