共用方式為


ShellSettingsManager.GetReadOnlySettingsStore Method

Gets the SettingsStore class for the requested scope that can be used for read-only operations.

Namespace:  Microsoft.VisualStudio.Shell.Settings
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Overrides Function GetReadOnlySettingsStore ( _
    scope As SettingsScope _
) As SettingsStore
public override SettingsStore GetReadOnlySettingsStore(
    SettingsScope scope
)
public:
virtual SettingsStore^ GetReadOnlySettingsStore(
    SettingsScope scope
) override
abstract GetReadOnlySettingsStore : 
        scope:SettingsScope -> SettingsStore  
override GetReadOnlySettingsStore : 
        scope:SettingsScope -> SettingsStore
public override function GetReadOnlySettingsStore(
    scope : SettingsScope
) : SettingsStore

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ShellSettingsManager Class

Microsoft.VisualStudio.Shell.Settings Namespace