Compartilhar via


Método SharedStatusBar.Progress (SharedStatusBarOwner, Int32, String, UInt32, UInt32)

Mostra o progresso das operações que levam a um determinado período de tempo.

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

Sintaxe

'Declaração
Public Function Progress ( _
    possibleOwner As SharedStatusBarOwner, _
    fInProgress As Integer, _
    pwszLabel As String, _
    nComplete As UInteger, _
    nTotal As UInteger _
) As Integer
public int Progress(
    SharedStatusBarOwner possibleOwner,
    int fInProgress,
    string pwszLabel,
    uint nComplete,
    uint nTotal
)
public:
virtual int Progress(
    SharedStatusBarOwner^ possibleOwner, 
    int fInProgress, 
    String^ pwszLabel, 
    unsigned int nComplete, 
    unsigned int nTotal
) sealed
abstract Progress : 
        possibleOwner:SharedStatusBarOwner * 
        fInProgress:int * 
        pwszLabel:string * 
        nComplete:uint32 * 
        nTotal:uint32 -> int 
override Progress : 
        possibleOwner:SharedStatusBarOwner * 
        fInProgress:int * 
        pwszLabel:string * 
        nComplete:uint32 * 
        nTotal:uint32 -> int 
public final function Progress(
    possibleOwner : SharedStatusBarOwner, 
    fInProgress : int, 
    pwszLabel : String, 
    nComplete : uint, 
    nTotal : uint
) : int

Parâmetros

  • fInProgress
    Tipo: System.Int32
    true enquanto a barra de progresso está sendo usada; falseQuando ela estiver concluída.
  • pwszLabel
    Tipo: System.String
    Texto a ser exibido no campo status, enquanto a barra de progresso estiver sendo usada.
  • nComplete
    Tipo: System.UInt32
    Número de unidades concluída atualmente na barra de progresso.
  • nTotal
    Tipo: System.UInt32
    Número total de unidades para a operação de barra de progresso.

Valor de retorno

Tipo: System.Int32

Implementações

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

Segurança do .NET Framework

Consulte também

Referência

SharedStatusBar Classe

Sobrecargas Progress

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