Partager via


SettingsManager.GetWritableSettingsStore Method

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

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

Syntax

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

returnValue = instance.GetWritableSettingsStore(scope)
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
WritableSettingsStore instance that can be used for accessing the scope.

Exceptions

Exception Condition
ArgumentException

If the given scope is not a writable one.

.NET Framework Security

See Also

Reference

SettingsManager Class

SettingsManager Members

Microsoft.VisualStudio.Settings Namespace