Partilhar via


Método LinkShapeGeometry.CreateDiagramItem

Cria um objeto DiagramItem dado um objeto IGeometryHost.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Sintaxe

'Declaração
Protected Shared Function CreateDiagramItem ( _
    geometryHost As IGeometryHost, _
    segment As LineSegment _
) As DiagramItem
protected static DiagramItem CreateDiagramItem(
    IGeometryHost geometryHost,
    LineSegment segment
)

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem

Segurança do .NET Framework

Consulte também

Referência

LinkShapeGeometry Classe

Namespace Microsoft.VisualStudio.Modeling.Diagrams