IFindAllReferencesWindow.SetProgress 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.
Overloads
SetProgress(Double) |
Set the value for the FindAllReferences progress bar. |
SetProgress(Int32, Int32) |
Set the value for the FindAllReferences search progress. |
SetProgress(Double)
Set the value for the FindAllReferences progress bar.
public:
void SetProgress(double progress);
public:
void SetProgress(double progress);
void SetProgress(double progress);
public void SetProgress (double progress);
abstract member SetProgress : double -> unit
Public Sub SetProgress (progress As Double)
Parameters
- progress
- Double
A value indicating the progress of the FindAllReferences search.
Remarks
progress
must be in the range [0.0, 1.0] inclusive, with 0.0 to start and 1.0 to stop the progress bar. When this method is called, a dterminate progress bar is shown, with the progress
indicating the search progress.
If this method is never called, an indeterminate progress bar is shown if IsStable is false. The progress bar will stop animating when all of the data sources are stable IsStable.
Applies to
SetProgress(Int32, Int32)
Set the value for the FindAllReferences search progress.
public:
void SetProgress(int completed, int maximum);
public:
void SetProgress(int completed, int maximum);
void SetProgress(int completed, int maximum);
public void SetProgress (int completed, int maximum);
abstract member SetProgress : int * int -> unit
Public Sub SetProgress (completed As Integer, maximum As Integer)
Parameters
- completed
- Int32
The progress that has been completed. A value between 0 and maximum
, inclusive.
- maximum
- Int32
The total progress value when search is done.