ModelingDocView Constructor
Initializes a new instance of the ModelingDocView class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣言
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.ModelingDocData
The document to appear in the document window.
- serviceProvider
Type: System.IServiceProvider
The 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.