Sdílet prostřednictvím


SharedStatusBar.Progress – metoda (SharedStatusBarOwner, Int32, String, UInt32, UInt32, Boolean)

Zobrazí průběh operací, které determinate množství času.

Obor názvů:  Microsoft.VisualStudio.Data.Schema.Package.UI
Sestavení:  Microsoft.VisualStudio.Data.Schema.Package (v Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntaxe

'Deklarace
Public Function Progress ( _
    possibleOwner As SharedStatusBarOwner, _
    fInProgress As Integer, _
    pwszLabel As String, _
    nComplete As UInteger, _
    nTotal As UInteger, _
    ignoreOwner As Boolean _
) As Integer
public int Progress(
    SharedStatusBarOwner possibleOwner,
    int fInProgress,
    string pwszLabel,
    uint nComplete,
    uint nTotal,
    bool ignoreOwner
)
public:
virtual int Progress(
    SharedStatusBarOwner^ possibleOwner, 
    int fInProgress, 
    String^ pwszLabel, 
    unsigned int nComplete, 
    unsigned int nTotal, 
    bool ignoreOwner
) sealed
abstract Progress : 
        possibleOwner:SharedStatusBarOwner * 
        fInProgress:int * 
        pwszLabel:string * 
        nComplete:uint32 * 
        nTotal:uint32 * 
        ignoreOwner:bool -> int 
override Progress : 
        possibleOwner:SharedStatusBarOwner * 
        fInProgress:int * 
        pwszLabel:string * 
        nComplete:uint32 * 
        nTotal:uint32 * 
        ignoreOwner:bool -> int 
public final function Progress(
    possibleOwner : SharedStatusBarOwner, 
    fInProgress : int, 
    pwszLabel : String, 
    nComplete : uint, 
    nTotal : uint, 
    ignoreOwner : boolean
) : int

Parametry

  • fInProgress
    Typ: System.Int32
    true Když je indikátor průběhu používán; falseKdyž byla dokončena.
  • pwszLabel
    Typ: System.String
    Text zobrazený v poli Stav při slouží indikátor průběhu.
  • nComplete
    Typ: System.UInt32
    Počet jednotek v indikátoru průběhu právě dokončena.
  • nTotal
    Typ: System.UInt32
    Celkový počet jednotek pruh průběh operace.
  • ignoreOwner
    Typ: System.Boolean
    Označuje, zda vlastník stavový řádek ignorovat.

Vrácená hodnota

Typ: System.Int32

Implementuje

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

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

SharedStatusBar Třída

Progress – přetížení

Microsoft.VisualStudio.Data.Schema.Package.UI – obor názvů