SharedStatusBar.Progress (Método) (SharedStatusBarOwner, Int32, String, UInt32, UInt32)
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 _
) 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
- possibleOwner
Tipo: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
Propietario de la barra de estado.Si no es el propietario, no ocurrirá nada.
- 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.
Valor devuelto
Tipo: System.Int32
Implementaciones
ISharedStatusBar.Progress(SharedStatusBarOwner, Int32, String, UInt32, UInt32)
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.VisualStudio.Data.Schema.Package.UI (Espacio de nombres)