Partager 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

This class is safe to access from any thread.

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