共用方式為


Microsoft.VisualStudio.Settings Namespace

Classes

  Class Description
Public class ExternalSettingsManager 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.
Public class SettingsManager 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 class SettingsStore Abstract class for reading or enumerating the selected scope's collections and properties. It is obtained from GetReadOnlySettingsStore() method.
Public class WritableSettingsStore Abstract class for both reading and writing the selected scope's collections and properties. It is obtained from GetWritableSettingsStore() method.

Enumerations

  Enumeration Description
Public enumeration ApplicationDataFolder This enumeration is used to specify the folder that Visual Studio uses to keep various files for different purposes like cache files, backup files or template files.
Public enumeration EnclosingScopes Enumeration returned as a result of a querying call to GetPropertyScope or GetCollectionScope methods of the SettingsManager class to learn the enclosing scopes of the provided property or collection.
Public enumeration SettingsScope This enumeration is used to specify the scope of the settings that is retrieved from the SettingsManager class.
Public enumeration SettingsType Data types of the properties that are stored inside the collections.