次の方法で共有


HighlightedShapesCollection.Remove Method

Definition

Overloads

Remove(DiagramItem)

Removes a DiagramItem from the current highlight list.

Remove(DiagramItemCollection)

Removes the specified DiagramItems from the current highlight list.

Remove(DiagramItem)

Removes a DiagramItem from the current highlight list.

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

Parameters

diagramItem
DiagramItem

The DiagramItem to remove from the current highlight list.

Remarks

If a DiagramItem does not exist in the highlight list, the DiagramItem is ignored.

Applies to

Remove(DiagramItemCollection)

Removes the specified DiagramItems from the current highlight list.

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

Parameters

diagramItems
DiagramItemCollection

The collection of DiagramItems to remove

Remarks

If a DiagramItem does not exist in the highlight list, the DiagramItem is ignored.

Applies to