Partager via


ShellSettingsManager Members

Include Protected Members
Include Inherited Members

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 SettingsScope and WritableSettingsStore classes for further manipulation of the collections and properties within the scopes. This class implements the IDisposable pattern hence it needs to be disposed after it is no longer necessary.

The ShellSettingsManager type exposes the following members.

Constructors

  Name Description
Public method ShellSettingsManager Constructor for the SettingsManager class. It requires Service Provider to reach IVsSettingsManager which is the interop COM interface of the service that provides the Settings related functionalities.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetApplicationDataFolder Returns the folder that Visual Studio uses for storing various cache, backup, template, etc. files (Overrides SettingsManager.GetApplicationDataFolder(ApplicationDataFolder).)
Public method GetCollectionScopes 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. (Overrides SettingsManager.GetCollectionScopes(String).)
Public method GetCommonExtensionsSearchPaths Returns the list of folders that Visual Studio uses for installing/discovering machine-wide extensions. (Overrides SettingsManager.GetCommonExtensionsSearchPaths().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPropertyScopes 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. (Overrides SettingsManager.GetPropertyScopes(String, String).)
Public method GetReadOnlySettingsStore Provides the SettingsStore class for the requested scope which can be used for read-only operations. (Overrides SettingsManager.GetReadOnlySettingsStore(SettingsScope).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetWritableSettingsStore Provides the WritableSettingsStore class for the requested scope which can be used both for reading and writing. (Overrides SettingsManager.GetWritableSettingsStore(SettingsScope).)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

See Also

Reference

ShellSettingsManager Class

Microsoft.VisualStudio.Shell.Settings Namespace