Share via


ShellSettingsManager.GetWritableSettingsStore Method

Gets the WritableSettingsStore object for the requested scope which can be used both for reading and writing.

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

Syntax

'Declaration
Public Overrides Function GetWritableSettingsStore ( _
    scope As SettingsScope _
) As WritableSettingsStore
public override WritableSettingsStore GetWritableSettingsStore(
    SettingsScope scope
)
public:
virtual WritableSettingsStore^ GetWritableSettingsStore(
    SettingsScope scope
) override
abstract GetWritableSettingsStore : 
        scope:SettingsScope -> WritableSettingsStore  
override GetWritableSettingsStore : 
        scope:SettingsScope -> WritableSettingsStore
public override function GetWritableSettingsStore(
    scope : SettingsScope
) : WritableSettingsStore

Parameters

Return Value

Type: Microsoft.VisualStudio.Settings.WritableSettingsStore
A WritableSettingsStore object that can be used for accessing the scope.

Exceptions

Exception Condition
ArgumentException

The given scope is not writable.

.NET Framework Security

See Also

Reference

ShellSettingsManager Class

Microsoft.VisualStudio.Shell.Settings Namespace