Compartir a través de


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

Muestra el progreso de las operaciones que llevan una cantidad de tiempo determinada.

Espacio de nombres:  Microsoft.VisualStudio.Data.Schema.Package.UI
Ensamblado:  Microsoft.VisualStudio.Data.Schema.Package (en Microsoft.VisualStudio.Data.Schema.Package.dll)

Sintaxis

'Declaración
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
    Es true mientras la barra de progreso está en uso; es false cuando se ha completado.
  • pwszLabel
    Tipo: System.String
    Texto que se va a mostrar en el campo de estado mientras la barra de progreso está en uso.
  • nComplete
    Tipo: System.UInt32
    Número de unidades completadas actualmente en la barra de progreso.
  • nTotal
    Tipo: System.UInt32
    Número total de unidades para la operación de barra de progreso.
  • ignoreOwner
    Tipo: System.Boolean
    Indica si se va a omitir el propietario de la barra de estado.

Valor devuelto

Tipo: System.Int32

Implementaciones

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

Seguridad de .NET Framework

Vea también

Referencia

SharedStatusBar Clase

Progress (Sobrecarga)

Microsoft.VisualStudio.Data.Schema.Package.UI (Espacio de nombres)