ShellSettingsManager Constructor
Constructor for the SettingsManager class. It requires Service Provider to reach IVsSettingsManager which is the interop COM interface of the service that provides the Settings related functionalities.
Namespace: Microsoft.VisualStudio.Shell.Settings
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
声明
Public Sub New ( _
serviceProvider As IServiceProvider _
)
用法
Dim serviceProvider As IServiceProvider
Dim instance As New ShellSettingsManager(serviceProvider)
public ShellSettingsManager(
IServiceProvider serviceProvider
)
public:
ShellSettingsManager(
IServiceProvider^ serviceProvider
)
new :
serviceProvider:IServiceProvider -> ShellSettingsManager
public function ShellSettingsManager(
serviceProvider : IServiceProvider
)
Parameters
- serviceProvider
Type: System.IServiceProvider
Service provider of the VS.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.