Initializes a new instance of the ModelingEditorFactory class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected Sub New ( _
serviceProvider As IServiceProvider _
)
'使用
Dim serviceProvider As IServiceProvider
Dim instance As New ModelingEditorFactory(serviceProvider)
protected ModelingEditorFactory(
IServiceProvider serviceProvider
)
protected:
ModelingEditorFactory(
IServiceProvider^ serviceProvider
)
protected function ModelingEditorFactory(
serviceProvider : IServiceProvider
)
Parameters
serviceProvider
Type: System.IServiceProviderThe service provider that retrieves Visual Studio services.
Permissions
- 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.