一定の時間のかかる処理の進行状況を表示します。
名前空間: 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, _
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
パラメーター
- possibleOwner
型: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
ステータス バーの所有者。所有者でない場合は、何も発生しません。
- inProgress
型: System.Int32
プログレス バーが使用中であるときは、true。完了しているときは、false。
- label
型: System.String
プログレス バーの使用中にステータス フィールドに表示するテキスト。
- complete
型: System.UInt32
プログレス バーで現在完了している単位数。
- total
型: System.UInt32
プログレス バー操作の総単位数。
- ignoreOwner
型: System.Boolean
ステータス バーの所有者を無視するかどうかを照会します。
戻り値
型: System.Int32
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。