Delen via


DiagramItem.SetItem Method (ShapeElement)

Sets the DiagramItem to represent the specified ShapeElement.

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

Syntax

'Declaration
Public Sub SetItem ( _
    shape As ShapeElement _
)
public void SetItem(
    ShapeElement shape
)
public:
void SetItem(
    ShapeElement^ shape
)
member SetItem : 
        shape:ShapeElement -> unit
public function SetItem(
    shape : ShapeElement
)

Parameters

.NET Framework Security

See Also

Reference

DiagramItem Class

SetItem Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace