SharedStatusBar.Progress Method (SharedStatusBarOwner, Int32, String, UInt32, UInt32)
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
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
Parameters
- possibleOwner
Type: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
The owner of the status bar. If not the owner, nothing will happen.
- fInProgress
Type: System.Int32
true while the progress bar is being used; false when it has completed.
- pwszLabel
Type: System.String
Text to display in the status field while the progress bar is being used.
- nComplete
Type: System.UInt32
Number of units currently completed in the progress bar.
- nTotal
Type: System.UInt32
Total number of units for the progress bar operation.
Return Value
Type: System.Int32
Implements
ISharedStatusBar.Progress(SharedStatusBarOwner, Int32, String, UInt32, UInt32)
.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.