Partager via


HighlightedShapesCollection.Add Method (DiagramItemCollection)

Adds the specified DiagramItems to the current highlight list.

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

Syntax

'Déclaration
Public Sub Add ( _
    diagramItems As DiagramItemCollection _
)
public void Add(
    DiagramItemCollection diagramItems
)
public:
void Add(
    DiagramItemCollection^ diagramItems
)
member Add : 
        diagramItems:DiagramItemCollection -> unit 
public function Add(
    diagramItems : DiagramItemCollection
)

Parameters

Remarks

If a DiagramItem in the collection is already in the highlight list, the DiagramItem is ignored.

.NET Framework Security

See Also

Reference

HighlightedShapesCollection Class

Add Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace