次の方法で共有


SingleTaskIdleManager.IOleComponent.FDoIdle(UInt32) Method

Definition

Gives the component a chance to do idle time tasks.

 virtual int Microsoft.VisualStudio.OLE.Interop.IOleComponent.FDoIdle(System::UInt32 grfidlef) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::FDoIdle;
 virtual int Microsoft.VisualStudio.OLE.Interop.IOleComponent.FDoIdle(unsigned int grfidlef) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::FDoIdle;
int Microsoft.VisualStudio.OLE.Interop.IOleComponent.FDoIdle(unsigned int grfidlef);
int IOleComponent.FDoIdle (uint grfidlef);
abstract member Microsoft.VisualStudio.OLE.Interop.IOleComponent.FDoIdle : uint32 -> int
override this.Microsoft.VisualStudio.OLE.Interop.IOleComponent.FDoIdle : uint32 -> int
Function FDoIdle (grfidlef As UInteger) As Integer Implements IOleComponent.FDoIdle

Parameters

grfidlef
UInt32

A set of flags indicating the type of idle tasks to perform, from _OLEIDLEF.

Returns

true if more time is needed to perform the idle time tasks, false otherwise.

Implements

Remarks

The component may periodically call FContinueIdle; if this method returns false, the component should terminate its idle time processing and return.

If a component reaches a point where it has no idle tasks and does not need FDoIdle calls, it should remove its idle task registration via FUpdateComponentRegistration.

If this method is called while the component is performing a tracking operation, the component should perform only those idle time tasks that are appropriate during tracking.

Applies to