DiagramDocView.CreateDiagramView Method
Creates a diagram view for the document window.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'Declaration
Public Overridable Function CreateDiagramView As VSDiagramView
'Usage
Dim instance As DiagramDocView
Dim returnValue As VSDiagramView
returnValue = instance.CreateDiagramView()
public virtual VSDiagramView CreateDiagramView()
public:
virtual VSDiagramView^ CreateDiagramView()
public function CreateDiagramView() : VSDiagramView
Return Value
Type: Microsoft.VisualStudio.Modeling.Shell.VSDiagramView
The view for the diagram.
.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.