Freigeben über


SelectedShapesCollection.DeferredRemove(DiagramItem) Method

Definition

Defers removing a DiagramItem from the selection until ElementEventsEnded is raised. The DeferredAdd, DeferredRemove, DeferredPrimaryItem, and DeferredClear methods define the parameters to use in a single call to set the selection when ElementEventsEnded is raised.

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

Parameters

diagramItem
DiagramItem

The DiagramItem to remove from the selection.

Remarks

This method must be called during a transaction since the selection is deferred to ElementEventsEnded.

Applies to