다음을 통해 공유


SelectedShapesCollection.Add Method (DiagramItem)

Adds a DiagramItem to the current selection.

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

Syntax

‘선언
Public Sub Add ( _
    diagramItem As DiagramItem _
)
public void Add(
    DiagramItem diagramItem
)
public:
void Add(
    DiagramItem^ diagramItem
)
member Add : 
        diagramItem:DiagramItem -> unit 
public function Add(
    diagramItem : DiagramItem
)

Parameters

Remarks

The added DiagramItem automatically becomes the primary DiagramItem.

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Add Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace