Freigeben über


HighlightedShapesCollection.Add Method

Definition

Overloads

Add(DiagramItem)

Adds a DiagramItem to the current highlight list.

Add(DiagramItemCollection)

Adds the specified DiagramItems to the current highlight list.

Add(DiagramItem)

Adds a DiagramItem to the current highlight list.

public:
 override void Add(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^ diagramItem);
public override void Add (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem diagramItem);
override this.Add : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem -> unit
Public Overrides Sub Add (diagramItem As DiagramItem)

Parameters

diagramItem
DiagramItem

The DiagramItem to add to the current highlight list.

Applies to

Add(DiagramItemCollection)

Adds the specified DiagramItems to the current highlight list.

public:
 void Add(Microsoft::VisualStudio::Modeling::Diagrams::DiagramItemCollection ^ diagramItems);
public void Add (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection diagramItems);
override this.Add : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection -> unit
Public Sub Add (diagramItems As DiagramItemCollection)

Parameters

diagramItems
DiagramItemCollection

The collection of DiagramItems to add.

Remarks

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

Applies to