ISharedStatusBar.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
Function Progress ( _
possibleOwner As SharedStatusBarOwner, _
inProgress As Integer, _
label As String, _
complete As UInteger, _
total As UInteger, _
ignoreOwner As Boolean _
) As Integer
int Progress(
SharedStatusBarOwner possibleOwner,
int inProgress,
string label,
uint complete,
uint total,
bool ignoreOwner
)
int Progress(
SharedStatusBarOwner^ possibleOwner,
int inProgress,
String^ label,
unsigned int complete,
unsigned int total,
bool ignoreOwner
)
abstract Progress :
possibleOwner:SharedStatusBarOwner *
inProgress:int *
label:string *
complete:uint32 *
total:uint32 *
ignoreOwner:bool -> int
function Progress(
possibleOwner : SharedStatusBarOwner,
inProgress : int,
label : String,
complete : uint,
total : uint,
ignoreOwner : boolean
) : int
Parametry
- possibleOwner
Typ: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
Vlastník stavový řádek.Není-li vlastník, žádná akce.
- inProgress
Typ: System.Int32
true Když je indikátor průběhu používán; falseKdyž byla dokončena.
- label
Typ: System.String
Text zobrazený v poli Stav při slouží indikátor průběhu.
- complete
Typ: System.UInt32
Počet jednotek v indikátoru průběhu právě dokončena.
- total
Typ: System.UInt32
Celkový počet jednotek pruh průběh operace.
- ignoreOwner
Typ: System.Boolean
Dotazy, zda chcete ignorovat vlastníka na stavovém řádku.
Vrácená hodnota
Typ: System.Int32
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.