Compartilhar via


ShapeGeometry.CreateDiagramItem(IGeometryHost) Method

Definition

Creates a DiagramItem object given an IGeometryHost object.

protected:
 static Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ CreateDiagramItem(Microsoft::VisualStudio::Modeling::Diagrams::IGeometryHost ^ geometryHost);
protected static Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem CreateDiagramItem (Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost geometryHost);
static member CreateDiagramItem : Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
Protected Shared Function CreateDiagramItem (geometryHost As IGeometryHost) As DiagramItem

Parameters

geometryHost
IGeometryHost

The instance data for the geometry.

Returns

The DiagramItem object which represents the IGeometryHost object.

Applies to