This document is archived and information here might be outdated. Recommended version. |
The progressor used to show progress during lengthy operations.
[Visual Basic .NET] Public Property Progressor As IProgressor
[C#] public IProgressor Progressor {get; set;}
[C++]
HRESULT get_Progressor(
IProgressor* Progressor
);
[C++]
HRESULT put_Progressor(
IProgressor** Progressor
);
[C++] Parameters Progressor [in]
Progressor is a parameter of type IProgressor* Progressor [out, retval]
Progressor is a parameter of type IProgressor**
Use the Progressor property to bind the CancelTracker with a progress object (for example, a progress bar, a progress dialog or a progress animation) that displays the progress of the lengthy operation. Once the Progressor has been set it will be updated automatically as the operation is executed.
If the progressor is a step progressor, the MaxRange should be set to equal the number of iterations that the operation will progress through; this number should also match the number of times Continue will be called in the operation�s innermost loop.