共用方式為


SettingsManager.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.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)

Syntax

'Declaration
Public MustOverride Function GetReadOnlySettingsStore ( _
    scope As SettingsScope _
) As SettingsStore
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
A SettingsStore instance that can be used to access the scope.

.NET Framework Security

See Also

Reference

SettingsManager Class

Microsoft.VisualStudio.Settings Namespace