SelectedShapesCollection.DeferredClearBeforeAdditions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defers clearing the selection until ElementEventsEnded is raised. This clears the selection first, and then any deferred additions or removals are applied. 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 DeferredClearBeforeAdditions();
public void DeferredClearBeforeAdditions ();
member this.DeferredClearBeforeAdditions : unit -> unit
Public Sub DeferredClearBeforeAdditions ()
Remarks
This method must be called during a transaction since the selection is deferred to ElementEventsEnded.