LanguageService::OnIdle Method (Boolean)

 

Called when no other events need to be handled.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual void OnIdle(
	bool periodic
)

Parameters

periodic
Type: System::Boolean

[in] true if this call is one of a periodic series of idle calls, typically triggered by a timer.

System_CAPS_noteNote

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.

Return to top
Show: