DiagramItem::SetItem Method (ShapeElement^, ShapeField^)

 

Sets the DiagramItem to represent the specified ShapeField.

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

public:
void SetItem(
	ShapeElement^ shape,
	ShapeField^ field
)

Parameters

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

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

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

The ShapeField that this DiagramItem is to represent.

Return to top
Show: