This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IT > IToolbarControl2 Interface > IToolbarControl2.UpdateInterval Property (ArcObjects .NET 10.5 SDK) |
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(
long* pVal
);
[C++]
HRESULT put_UpdateInterval(
long pVal
);
[C++]
Parameters pVal [out, retval] pVal is a parameter of type long pVal [in] pVal is a parameter of type long
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.
Be aware that setting a small UpdateInterval may cause memory usage to increase and the system to become busy doing continual updates.