Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property Total As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Total {get;} |
Return Value
The total number of items to load.For an example, refer to RasterThumbnailBrowser.LoadThumbnail.
You can use the Index and the Total properties to update a progress bar for the load
process. You need to setup the progress bar with the following:
Property | Value |
---|---|
ProgressBar.Minimum | 0 - You only need to set this the first time |
ProgressBar.Maximum | Total - You only need to set this the first time |
ProgressBar.Value | Index |
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family