LanguageService.OnIdle(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when no other events need to be handled.
public:
virtual void OnIdle(bool periodic);
public:
virtual void OnIdle(bool periodic);
virtual void OnIdle(bool periodic);
public virtual void OnIdle (bool periodic);
abstract member OnIdle : bool -> unit
override this.OnIdle : bool -> unit
Public Overridable Sub OnIdle (periodic As Boolean)
Parameters
- periodic
- Boolean
[in] true
if this call is one of a periodic series of idle calls, typically triggered by a timer.
Remarks
Note
This method is not called unless you set up your own timer and call this method from the timer handler.
The base method calls OnCaretMoved if the caret has moved since last time OnIdle
was called. The base method then calls the OnIdle method on the Source object for the current view. If the current Source object cannot be obtained, the base method does nothing at all, including not calling OnCaretMoved.