Compartilhar via


HighlightedShapesCollection.Set Method

Definition

Overloads

Set(DiagramItem)

Replaces the current highlight list with a new single highlight.

Set(DiagramItemCollection)

Replaces the current highlight list with a new highlight list.

Set(DiagramItem)

Replaces the current highlight list with a new single highlight.

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

Parameters

diagramItem
DiagramItem

The DiagramItem that is to replace the current highlight list.

Remarks

If the DiagramItem is null, then the highlight list is cleared.

Applies to

Set(DiagramItemCollection)

Replaces the current highlight list with a new highlight list.

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

Parameters

diagramItems
DiagramItemCollection

The collection of DiagramItems that is to replace the current highlight list.

Remarks

If the DiagramItemCollection is null, then the highlight list is cleared.

Applies to