ExternalSettingsManager.GetReadOnlySettingsStore Method
Provides the SettingsStore class for the requested scope which can be used for read-only 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 GetReadOnlySettingsStore ( _
scope As SettingsScope _
) As SettingsStore
[EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
public override sealed SettingsStore GetReadOnlySettingsStore(
SettingsScope scope
)
[EnvironmentPermissionAttribute(SecurityAction::LinkDemand, Unrestricted = true)]
public:
virtual SettingsStore^ GetReadOnlySettingsStore(
SettingsScope scope
) override sealed
[<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)>]
abstract GetReadOnlySettingsStore :
scope:SettingsScope -> SettingsStore
[<EnvironmentPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)>]
override GetReadOnlySettingsStore :
scope:SettingsScope -> SettingsStore
public override final function GetReadOnlySettingsStore(
scope : SettingsScope
) : SettingsStore
Parameters
scope
Type: Microsoft.VisualStudio.Settings.SettingsScopeThe requested scope.
Return Value
Type: Microsoft.VisualStudio.Settings.SettingsStore
A SettingsStore instance that can be used to access the scope.
.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.