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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Public Overrides Function GetWritableSettingsStore ( _
scope As SettingsScope _
) As WritableSettingsStore
public override WritableSettingsStore GetWritableSettingsStore(
SettingsScope scope
)
Parameters
- scope
Type: Microsoft.VisualStudio.Settings.SettingsScope
The 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.