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