Initializes a new instance of the DiagramDocView 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 DiagramDocView(docData, _
serviceProvider)
protected DiagramDocView(
ModelingDocData docData,
IServiceProvider serviceProvider
)
protected:
DiagramDocView(
ModelingDocData^ docData,
IServiceProvider^ serviceProvider
)
protected function DiagramDocView(
docData : ModelingDocData,
serviceProvider : IServiceProvider
)
Parameters
docData
Type: Microsoft.VisualStudio.Modeling.Shell.ModelingDocDataThe model to appear in the diagram view.
serviceProvider
Type: System.IServiceProviderThe service provider that retrieves Visual Studio services.
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.