次の方法で共有


SettingsManager.GetWritableSettingsStore(SettingsScope) Method

Definition

Provides the WritableSettingsStore class for the requested scope which can be used both for reading and writing.

public:
 abstract Microsoft::VisualStudio::Settings::WritableSettingsStore ^ GetWritableSettingsStore(Microsoft::VisualStudio::Settings::SettingsScope scope);
public:
 abstract Microsoft::VisualStudio::Settings::WritableSettingsStore ^ GetWritableSettingsStore(Microsoft::VisualStudio::Settings::SettingsScope scope);
 abstract Microsoft::VisualStudio::Settings::WritableSettingsStore GetWritableSettingsStore(Microsoft::VisualStudio::Settings::SettingsScope scope);
public abstract Microsoft.VisualStudio.Settings.WritableSettingsStore GetWritableSettingsStore (Microsoft.VisualStudio.Settings.SettingsScope scope);
abstract member GetWritableSettingsStore : Microsoft.VisualStudio.Settings.SettingsScope -> Microsoft.VisualStudio.Settings.WritableSettingsStore
Public MustOverride Function GetWritableSettingsStore (scope As SettingsScope) As WritableSettingsStore

Parameters

scope
SettingsScope

Requested scope.

Returns

WritableSettingsStore instance that can be used for accessing the scope.

Exceptions

If the given scope is not a writable one.

Remarks

This method is safe to access from any thread.

Applies to