Partager via


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

Return Value

Type: Microsoft.VisualStudio.Settings.SettingsStore
SettingsStore instance that can be used for accessing the scope.

.NET Framework Security

See Also

Reference

SettingsManager Class

SettingsManager Members

Microsoft.VisualStudio.Settings Namespace