Partager via


IVsSettingsManager.GetReadOnlySettingsStore Method

Returns the IVsSettingsStore interface for the requested scope, which can be used for read-only operations.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function GetReadOnlySettingsStore ( _
    scope As UInteger, _
    <OutAttribute> ByRef store As IVsSettingsStore _
) As Integer
int GetReadOnlySettingsStore(
    uint scope,
    out IVsSettingsStore store
)
int GetReadOnlySettingsStore(
    [InAttribute] unsigned int scope, 
    [OutAttribute] IVsSettingsStore^% store
)
abstract GetReadOnlySettingsStore : 
        scope:uint32 * 
        store:IVsSettingsStore byref -> int
function GetReadOnlySettingsStore(
    scope : uint, 
    store : IVsSettingsStore
) : int

Parameters

Return Value

Type: Int32
Returns S_OK if the interface was returned.

.NET Framework Security

See Also

Reference

IVsSettingsManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace