Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Provides the WritableSettingsStore class for the requested scope which can be used for reading operations and writing operations.
Namespace: Microsoft.VisualStudio.Settings
Assemblies: Microsoft.VisualStudio.Settings.11.0 (in Microsoft.VisualStudio.Settings.11.0.dll)
Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
Syntax
'Declaration
<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted := True)> _
Public Overrides NotOverridable Function GetWritableSettingsStore ( _
scope As SettingsScope _
) As WritableSettingsStore
[EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
public override sealed WritableSettingsStore GetWritableSettingsStore(
SettingsScope scope
)
[EnvironmentPermissionAttribute(SecurityAction::LinkDemand, Unrestricted = true)]
public:
virtual WritableSettingsStore^ GetWritableSettingsStore(
SettingsScope scope
) override sealed
[<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)>]
abstract GetWritableSettingsStore :
scope:SettingsScope -> WritableSettingsStore
[<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)>]
override GetWritableSettingsStore :
scope:SettingsScope -> WritableSettingsStore
public override final function GetWritableSettingsStore(
scope : SettingsScope
) : WritableSettingsStore
Parameters
scope
Type: Microsoft.VisualStudio.Settings.SettingsScopeThe requested scope.
Return Value
Type: Microsoft.VisualStudio.Settings.WritableSettingsStore
A WritableSettingsStore instance that can be used to access 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.