Partager via


IVsSettingsManager.GetWritableSettingsStore Method

Returns an IVsWritableSettingsStore interface for the requested scope.

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 GetWritableSettingsStore ( _
    scope As UInteger, _
    <OutAttribute> ByRef writableStore As IVsWritableSettingsStore _
) As Integer
int GetWritableSettingsStore(
    uint scope,
    out IVsWritableSettingsStore writableStore
)
int GetWritableSettingsStore(
    [InAttribute] unsigned int scope, 
    [OutAttribute] IVsWritableSettingsStore^% writableStore
)
abstract GetWritableSettingsStore : 
        scope:uint32 * 
        writableStore:IVsWritableSettingsStore byref -> int
function GetWritableSettingsStore(
    scope : uint, 
    writableStore : IVsWritableSettingsStore
) : int

Parameters

  • scope
    Type: UInt32

    [in] The scope to look for.

Return Value

Type: Int32
Returns S_OK if the interface was returned, or E_INVALIDARG if the settings store is not writable.

.NET Framework Security

See Also

Reference

IVsSettingsManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace