Important: The information in this document is obsolete and should not be used for new development.
GetAmountDone
Retrieves a value representing what portion of an asynchronous process has been completed.
void GetAmountDone (out long amtDone);
amtDone
- A numeric indication of the portion of the process that has been completed.
DISCUSSION
This method returns the last value set by theSetAmountDone
method or 0 ifSetAmountDone
has not been called since the object was initialized or reset. The amount done is relative to the total amount as set by theSetAmountTotal
method.The value in the
amtDone
parameter is a numeric indication of the amount done. For example, consider the process of downloading 200 bytes of data. If you have downloaded 100 bytes, the amount done is 100.SEE ALSO
TheGetAmountTotal
method (page 303).
TheGetProgressPercent
method (page 305).
TheSetAmountDone
method (page 308).
TheSetAmountTotal
method (page 309).
TheSetProgressPercent
method (page 311).