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.12.0 (in Microsoft.VisualStudio.Shell.12.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
scope
Type: Microsoft.VisualStudio.Settings.SettingsScopeThe requested scope.
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
- 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.