Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ShellSettingsManager Class

Represents the settings stored inside Visual Studio.


Namespace:  Microsoft.VisualStudio.Shell.Settings
Assemblies:   Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

public sealed class ShellSettingsManager : SettingsManager

The ShellSettingsManager type exposes the following members.

Public methodShellSettingsManagerInstantiates a new instance of ShellSettingsManager.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetApplicationDataFolderGets the folder that Visual Studio uses for storing various cache, backup, template, etc. files (Overrides SettingsManager.GetApplicationDataFolder(ApplicationDataFolder).)
Public methodGetCollectionScopesGets the scopes that contain the given collection. (Overrides SettingsManager.GetCollectionScopes(String).)
Public methodGetCommonExtensionsSearchPathsGets the list of folders that Visual Studio uses for installing/discovering machine-wide extensions. (Overrides SettingsManager.GetCommonExtensionsSearchPaths().)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetPropertyScopesGets the scopes that contain the given property. (Overrides SettingsManager.GetPropertyScopes(String, String).)
Public methodGetReadOnlySettingsStoreGets the SettingsStore class for the requested scope that can be used for read-only operations. (Overrides SettingsManager.GetReadOnlySettingsStore(SettingsScope).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetWritableSettingsStoreGets the WritableSettingsStore object for the requested scope which can be used both for reading and writing. (Overrides SettingsManager.GetWritableSettingsStore(SettingsScope).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

This class allows you to search for properties and collections in different scopes. It contains references to the SettingsScope and WritableSettingsStore classes for further manipulation of the collections and properties in the scope. This class implements the IDisposable pattern and must be disposed after it is no longer necessary.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft