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


IToolbarControl2.UpdateInterval Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarControl2 Interface > IToolbarControl2.UpdateInterval Property
ArcGIS Developer Help

IToolbarControl2.UpdateInterval Property

The frequency in millisecs that update method is called on the ToolbarControl.

[Visual Basic .NET]
Public Property UpdateInterval As Integer
[C#]
public int UpdateInterval {get; set;}
[C++]
HRESULT get_UpdateInterval(
void
);
[C++]
HRESULT put_UpdateInterval(
);

Product Availability

Available with ArcGIS Engine.

Description

Specifies the frequency the ToolbarControl automatically calls the Update method (without a full update). Setting the UpdateInterval to 0 will stop the Update method been called automatically. By default the UpdateInterval is set to 500 milliseconds.

Remarks

Be aware that setting a small UpdateInterval may cause memory usage to increase and the system to become busy doing continual updates.

See Also

IToolbarControl2 Interface