SingleDiagramDocView Constructor
Initializes a new instance of the SingleDiagramDocView 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 SingleDiagramDocView(
ModelingDocData docData,
IServiceProvider serviceProvider
)
protected:
SingleDiagramDocView(
ModelingDocData^ docData,
IServiceProvider^ serviceProvider
)
new :
docData:ModelingDocData *
serviceProvider:IServiceProvider -> SingleDiagramDocView
protected function SingleDiagramDocView(
docData : ModelingDocData,
serviceProvider : IServiceProvider
)
Parameters
docData
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingDocDataThe diagram to display in the window view.
serviceProvider
Type: System.IServiceProviderThe service provider that creates windows in the graphical designer.
.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.