Share via


ShapeGeometry.CreateDiagramItem Method

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)

Syntax

'Declaration
Protected Shared Function CreateDiagramItem ( _
    geometryHost As IGeometryHost _
) As DiagramItem
protected static DiagramItem CreateDiagramItem(
    IGeometryHost geometryHost
)
protected:
static DiagramItem^ CreateDiagramItem(
    IGeometryHost^ geometryHost
)
static member CreateDiagramItem : 
        geometryHost:IGeometryHost -> DiagramItem
protected static function CreateDiagramItem(
    geometryHost : IGeometryHost
) : DiagramItem

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
A DiagramItem that represents the shape or link.

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace