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
- scope
Type: Microsoft.VisualStudio.Settings.SettingsScope
Requested scope.
Return Value
Type: Microsoft.VisualStudio.Settings.WritableSettingsStore
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.