Dela via


ISharedStatusBar.Progress Method (SharedStatusBarOwner, Int32, String, UInt32, UInt32)

Shows the progress of operations that take a determinate amount of time.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Function Progress ( _
    possibleOwner As SharedStatusBarOwner, _
    inProgress As Integer, _
    label As String, _
    complete As UInteger, _
    total As UInteger _
) As Integer
int Progress(
    SharedStatusBarOwner possibleOwner,
    int inProgress,
    string label,
    uint complete,
    uint total
)
int Progress(
    SharedStatusBarOwner^ possibleOwner, 
    int inProgress, 
    String^ label, 
    unsigned int complete, 
    unsigned int total
)
abstract Progress : 
        possibleOwner:SharedStatusBarOwner * 
        inProgress:int * 
        label:string * 
        complete:uint32 * 
        total:uint32 -> int 
function Progress(
    possibleOwner : SharedStatusBarOwner, 
    inProgress : int, 
    label : String, 
    complete : uint, 
    total : uint
) : int

Parameters

  • inProgress
    Type: System.Int32
    true while the progress bar is being used; false when it has completed.
  • label
    Type: System.String
    Text to display in the status field while the progress bar is being used.
  • complete
    Type: System.UInt32
    Number of units currently completed in the progress bar.
  • total
    Type: System.UInt32
    Total number of units for the progress bar operation.

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

ISharedStatusBar Interface

Progress Overload

Microsoft.VisualStudio.Data.Schema.Package.UI Namespace