Partager via


SettingsManager.GetWritableSettingsStore Method

Provides the WritableSettingsStore class for the requested scope which can be used for reading operations and writing operations.

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

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

Parameters

Return Value

Type: Microsoft.VisualStudio.Settings.WritableSettingsStore
A WritableSettingsStore instance that can be used to access the scope.

Exceptions

Exception Condition
ArgumentException

The given scope is not writable.

.NET Framework Security

See Also

Reference

SettingsManager Class

Microsoft.VisualStudio.Settings Namespace