ShapeGeometry::CreateDiagramItem Method (IGeometryHost^)

 

Creates a shape geometry host.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

protected:
static DiagramItem^ CreateDiagramItem(
	IGeometryHost^ geometryHost
)

Parameters

geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams::IGeometryHost^

The shape or link.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^

A DiagramItem that represents the shape or link.

Return to top
Show: