Partager via


ShellSettingsManager Class

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.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell.Settings
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
<CLSCompliantAttribute(False)> _
Public NotInheritable Class ShellSettingsManager _
    Inherits SettingsManager
'Utilisation
Dim instance As ShellSettingsManager
[CLSCompliantAttribute(false)]
public sealed class ShellSettingsManager : SettingsManager
[CLSCompliantAttribute(false)]
public ref class ShellSettingsManager sealed : public SettingsManager
[<SealedAttribute>]
[<CLSCompliantAttribute(false)>]
type ShellSettingsManager =  
    class
        inherit SettingsManager
    end
public final class ShellSettingsManager extends SettingsManager

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Settings.SettingsManager
    Microsoft.VisualStudio.Shell.Settings.ShellSettingsManager

Thread Safety

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

See Also

Reference

ShellSettingsManager Members

Microsoft.VisualStudio.Shell.Settings Namespace