DiagramItem Constructor (ShapeElement^, ShapeField^, ShapeSubField^, LineSegment^, AnchorPoint^)

 

Initializes a new instance of the DiagramItem class to represent the specified ShapeSubField.

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

public:
DiagramItem(
	ShapeElement^ shape,
	ShapeField^ field,
	ShapeSubField^ subfield,
	LineSegment^ segment,
	AnchorPoint^ anchorPoint
)

Parameters

shape
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The parent ShapeElement of the ShapeSubField. This cannot be null.

field
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeField^

The parent ShapeField of the ShapeSubField. This cannot be null.

subfield
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeSubField^

The ShapeSubField that this DiagramItem is to represent.

segment
Type: Microsoft.VisualStudio.Modeling.Diagrams::LineSegment^

The LineSegment that this DiagramItem is to represent.

anchorPoint
Type: Microsoft.VisualStudio.Modeling.Diagrams::AnchorPoint^

The LineSegment's Anchor Point that this DiagramItem is to represent

Return to top
Show: