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


IEngineNAWindow.DelayWindowUpdates Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineNAWindow Interface > IEngineNAWindow.DelayWindowUpdates Method
ArcGIS Developer Help

IEngineNAWindow.DelayWindowUpdates Method

Indicates if window updates should be delayed.

[Visual Basic .NET]
Public Sub DelayWindowUpdates ( _
    ByVal flag As Boolean _
)
[C#]
public void DelayWindowUpdates (
    bool flag
);
[C++]
HRESULT DelayWindowUpdates(
  VARIANT_BOOL flag
);
[C++]
Parameters
flag [in]

flag is a parameter of type bool

Product Availability

Available with ArcGIS Engine.

Description

DelayWindowUpdates notifies the IEngineNetworkAnalystEnvironment::NAWindow whether or not to respond to items getting added or deleted to its treeview.

In it's default state, every time an item is added, deleted, or moved in the IEngineNetworkAnalystEnvironment::NAWindow the treeview is recalcuated.  If it is known upfront that a lot of changes are going to be made, the process should be to pass true into DelayWindowUpdates, make the changes, and then pass in false to DelayWindowUpdates.

See Also

IEngineNAWindow Interface