다음을 통해 공유


ExternalSettingsManager Members

Include Protected Members
Include Inherited Members

This is the gateway class to reach for the settings stored inside Visual Studio. It provides two basic functionalities. It allows searches 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. This class implements the IDisposable pattern and as a result it needs to be disposed after it is no longer necessary.

The ExternalSettingsManager type exposes the following members.

Methods

  Name Description
Public methodStatic member CreateForApplication(String) Used to construct the SettingsManager AppID based Visual Studio applications.
Public methodStatic member CreateForApplication(String, Boolean) Used to construct the SettingsManager AppID based Visual Studio applications.
Public methodStatic member CreateForApplication(String, String) Used to construct the SettingsManager AppID based Visual Studio applications with suffixed mode. In suffixed mode, any changes made to the settings are isolated from the normal running mode.
Public methodStatic member CreateForApplication(String, String, Boolean) Used to construct the SettingsManager AppID based Visual Studio applications with suffixed mode. In suffixed mode, any changes made to the settings are isolated from the normal running mode.
Public methodStatic member CreateForIsolatedApplication(String, String) Used to construct the SettingsManager AppEnv based Visual Studio custom applications. Custom applications are isolated among themselves.
Public methodStatic member CreateForIsolatedApplication(String, String, Boolean) Used to construct the SettingsManager AppEnv based Visual Studio custom applications. Custom applications are isolated among themselves.
Public method Dispose Releases all resources used by the current instance of the ExternalSettingsManager class.
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

ExternalSettingsManager Class

Microsoft.VisualStudio.Settings Namespace