ModelingDocView Constructor
Initializes a new instance of the ModelingDocView class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Sub New ( _
docData As ModelingDocData, _
serviceProvider As IServiceProvider _
)
protected ModelingDocView(
ModelingDocData docData,
IServiceProvider serviceProvider
)
protected:
ModelingDocView(
ModelingDocData^ docData,
IServiceProvider^ serviceProvider
)
new :
docData:ModelingDocData *
serviceProvider:IServiceProvider -> ModelingDocView
protected function ModelingDocView(
docData : ModelingDocData,
serviceProvider : IServiceProvider
)
Parameters
docData
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingDocDataThe document to appear in the document window.
serviceProvider
Type: System.IServiceProviderThe service provider that retrieves Visual Studio services.
.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.