Udostępnij za pośrednictwem


IVsSettingsManager.GetReadOnlySettingsStore(UInt32, IVsSettingsStore) Method

Definition

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

public:
 int GetReadOnlySettingsStore(System::UInt32 scope, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsStore ^ % store);
public:
 int GetReadOnlySettingsStore(unsigned int scope, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsStore ^ &  store);
int GetReadOnlySettingsStore(unsigned int scope, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsStore const & & store);
public int GetReadOnlySettingsStore (uint scope, out Microsoft.VisualStudio.Shell.Interop.IVsSettingsStore store);
abstract member GetReadOnlySettingsStore : uint32 * IVsSettingsStore -> int
Public Function GetReadOnlySettingsStore (scope As UInteger, ByRef store As IVsSettingsStore) As Integer

Parameters

scope
UInt32

[in] The __VsEnclosingScopes for the collections.

store
IVsSettingsStore

[out] The settings interface.

Returns

Returns S_OK if the interface was returned.

Remarks

This method is safe to access from any thread.

Applies to