ArcObjects Library Reference (Controls)  

IToolbarControlDefault.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(
  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

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

IToolbarControlDefault Interface