Initializes a new instance of the SingleDiagramDocView class.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected Sub New ( _
docData As ModelingDocData, _
serviceProvider As IServiceProvider _
)
'使用
Dim docData As ModelingDocData
Dim serviceProvider As IServiceProvider
Dim instance As New SingleDiagramDocView(docData, _
serviceProvider)
protected SingleDiagramDocView(
ModelingDocData docData,
IServiceProvider serviceProvider
)
protected:
SingleDiagramDocView(
ModelingDocData^ docData,
IServiceProvider^ serviceProvider
)
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.
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.