次の方法で共有


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
    プログレス バーで現在完了している単位数。
  • total
    型: System.UInt32
    プログレス バー操作の総単位数。

戻り値

型: System.Int32

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

ISharedStatusBar インターフェイス

Progress オーバーロード

Microsoft.VisualStudio.Data.Schema.Package.UI 名前空間