Partilhar via


SingleDiagramDocView Constructor

Initializes a new instance of the SingleDiagramDocView class.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaração
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

  • serviceProvider
    Type: System.IServiceProvider
    The service provider that creates windows in the graphical designer.

.NET Framework Security

See Also

Reference

SingleDiagramDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace