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
- scope
Type: Microsoft.VisualStudio.Settings.SettingsScope
Requested scope.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.