共用方式為


IVsSettingsManager.GetWritableSettingsStore Method

Definition

Returns an IVsWritableSettingsStore interface for the requested scope.

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

Parameters

scope
UInt32

[in] The scope to look for.

writableStore
IVsWritableSettingsStore

[out] The interface for the writable settings store.

Returns

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

Remarks

This method is safe to access from any thread.

Applies to