ISharedStatusBar.Progress-Methode (SharedStatusBarOwner, Int32, String, UInt32, UInt32)

Zeigt den Fortschritt von Vorgängen an, die eine bestimmte Zeit in Anspruch nehmen.

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

Parameter

  • inProgress
    Typ: System.Int32
    true , solange die Statusanzeige verwendet wird, false, sobald der Vorgang abgeschlossen ist.
  • label
    Typ: System.String
    Text, der im Statusfeld angezeigt werden soll, während die Statusleiste verwendet wird.
  • complete
    Typ: System.UInt32
    Die Anzahl der derzeit in der Statusanzeige abgeschlossenen Einheiten.
  • total
    Typ: System.UInt32
    Gesamtzahl der Einheiten für den Statusleistenvorgang.

Rückgabewert

Typ: System.Int32

.NET Framework-Sicherheit

Siehe auch

Referenz

ISharedStatusBar Schnittstelle

Progress-Überladung

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