This document is archived and information here might be outdated.  Recommended version.


IEditor.DelayEvents Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditor Interface > IEditor.DelayEvents Method
ArcGIS Developer Help

IEditor.DelayEvents Method

Used to batch operations together and minimize notifications.

[Visual Basic .NET]
Public Sub DelayEvents ( _
    ByVal delay As Boolean _
)
[C#]
public void DelayEvents (
    bool delay
);

Product Availability

Available with ArcGIS Desktop.

Remarks

Use DelayEvents to control whether or not the editor triggers event notifications for each change in the editor's selection.  For example, instead of the editor calling IEditEvents::OnSelectionChanged every time you select a feature, you may want the editor to only fire this event once--when the entire selection process is complete.
DelayEvents only affects OnSelectionChanged; all other events fire at the appropriate time.

See Also

IEditor Interface