Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Shows the progress of operations that take a determinate amount of time.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function Progress ( _
possibleOwner As SharedStatusBarOwner, _
inProgress As Integer, _
label As String, _
complete As UInteger, _
total As UInteger _
) As Integer
int Progress(
SharedStatusBarOwner possibleOwner,
int inProgress,
string label,
uint complete,
uint total
)
int Progress(
SharedStatusBarOwner^ possibleOwner,
int inProgress,
String^ label,
unsigned int complete,
unsigned int total
)
abstract Progress :
possibleOwner:SharedStatusBarOwner *
inProgress:int *
label:string *
complete:uint32 *
total:uint32 -> int
function Progress(
possibleOwner : SharedStatusBarOwner,
inProgress : int,
label : String,
complete : uint,
total : uint
) : int
Parameters
- possibleOwner
Type: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
The owner of the status bar. If not the owner, nothing will happen.
- inProgress
Type: System.Int32
true while the progress bar is being used; false when it has completed.
- label
Type: System.String
Text to display in the status field while the progress bar is being used.
- complete
Type: System.UInt32
Number of units currently completed in the progress bar.
- total
Type: System.UInt32
Total number of units for the progress bar operation.
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.