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, _
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
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.
- ignoreOwner
Type: System.Boolean
Queries whether to ignore the owner of the status bar.
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.