Partager via


ShellSettingsManager.GetWritableSettingsStore Method

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

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

Syntax

'Déclaration
Public Overrides Function GetWritableSettingsStore ( _
    scope As SettingsScope _
) As WritableSettingsStore
'Utilisation
Dim instance As ShellSettingsManager
Dim scope As SettingsScope
Dim returnValue As WritableSettingsStore

returnValue = instance.GetWritableSettingsStore(scope)
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

Exceptions

Exception Condition
ArgumentException

If the given scope is not a writable one.

.NET Framework Security

See Also

Reference

ShellSettingsManager Class

ShellSettingsManager Members

Microsoft.VisualStudio.Shell.Settings Namespace