DiagramDocView Constructor
Initializes a new instance of the DiagramDocView class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaration
Protected Sub New ( _
docData As ModelingDocData, _
serviceProvider As IServiceProvider _
)
protected DiagramDocView(
ModelingDocData docData,
IServiceProvider serviceProvider
)
protected:
DiagramDocView(
ModelingDocData^ docData,
IServiceProvider^ serviceProvider
)
new :
docData:ModelingDocData *
serviceProvider:IServiceProvider -> DiagramDocView
protected function DiagramDocView(
docData : ModelingDocData,
serviceProvider : IServiceProvider
)
Parameters
- docData
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingDocData
The model to appear in the diagram view.
- 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.