ISharedStatusBar.Progress 方法 (SharedStatusBarOwner, Int32, String, UInt32, UInt32)

显示占用确定时间量的操作的进度。

命名空间:  Microsoft.VisualStudio.Data.Schema.Package.UI
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

语法

声明
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

参数

  • inProgress
    类型:System.Int32
    如果正在使用进度栏,则为 true;如果进度栏已完成,则为 false。
  • label
    类型:System.String
    使用进度栏时要在状态字段中显示的文本。
  • complete
    类型:System.UInt32
    进度栏中当前已完成的单位数。

返回值

类型:System.Int32

.NET Framework 安全性

请参见

参考

ISharedStatusBar 接口

Progress 重载

Microsoft.VisualStudio.Data.Schema.Package.UI 命名空间