ShellSettingsManager.GetWritableSettingsStore 方法

获取可用于读取和写入流的请求范围的 WritableSettingsStore 对象。

命名空间:  Microsoft.VisualStudio.Shell.Settings
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public Overrides Function GetWritableSettingsStore ( _
    scope As SettingsScope _
) As WritableSettingsStore
public override WritableSettingsStore GetWritableSettingsStore(
    SettingsScope scope
)

参数

返回值

类型:Microsoft.VisualStudio.Settings.WritableSettingsStore
可用于访问范围使用的 WritableSettingsStore 对象。

异常

异常 条件
ArgumentException

给定范围不可写的。

.NET Framework 安全性

请参见

参考

ShellSettingsManager 类

Microsoft.VisualStudio.Shell.Settings 命名空间