Compartilhar via


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

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, _
    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

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.
  • ignoreOwner
    Tipo: System.Boolean
    Indica se o proprietário da barra de status de ignorar.

Valor de retorno

Tipo: System.Int32

Implementações

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

Segurança do .NET Framework

Consulte também

Referência

SharedStatusBar Classe

Sobrecargas Progress

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