SettingsManager.GetReadOnlySettingsStore Method
Provides the SettingsStore class for the requested scope which can be used for read-only operations.
Namespace: Microsoft.VisualStudio.Settings
Assembly: Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
Syntax
'Déclaration
Public MustOverride Function GetReadOnlySettingsStore ( _
scope As SettingsScope _
) As SettingsStore
'Utilisation
Dim instance As SettingsManager
Dim scope As SettingsScope
Dim returnValue As SettingsStore
returnValue = instance.GetReadOnlySettingsStore(scope)
public abstract SettingsStore GetReadOnlySettingsStore(
SettingsScope scope
)
public:
virtual SettingsStore^ GetReadOnlySettingsStore(
SettingsScope scope
) abstract
abstract GetReadOnlySettingsStore :
scope:SettingsScope -> SettingsStore
public abstract function GetReadOnlySettingsStore(
scope : SettingsScope
) : SettingsStore
Parameters
- scope
Type: Microsoft.VisualStudio.Settings.SettingsScope
Requested scope.
Return Value
Type: Microsoft.VisualStudio.Settings.SettingsStore
SettingsStore instance that can be used for accessing 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.