ProgressChangedEventArgs クラス
アセンブリ: System (system.dll 内)
構文
解説
メモ |
---|
このクラスに適用される HostProtectionAttribute 属性の Resources プロパティの値は、SharedState です。HostProtectionAttribute は、デスクトップ アプリケーション (一般的には、アイコンをダブルクリック、コマンドを入力、またはブラウザに URL を入力して起動するアプリケーション) には影響しません。詳細については、HostProtectionAttribute クラスのトピックまたは「SQL Server プログラミングとホスト保護属性」を参照してください。 |
ProgressChangedEventArgs クラスを使用するコード例を次に示します。このコード例は、BackgroundWorker クラスのトピックで取り上げているコード例の一部です。
' This event handler updates the progress bar. Private Sub backgroundWorker1_ProgressChanged( _ ByVal sender As Object, ByVal e As ProgressChangedEventArgs) _ Handles backgroundWorker1.ProgressChanged Me.progressBar1.Value = e.ProgressPercentage End Sub
// This event handler updates the progress bar. private void backgroundWorker1_ProgressChanged(object sender, ProgressChangedEventArgs e) { this.progressBar1.Value = e.ProgressPercentage; }
System.EventArgs
System.ComponentModel.ProgressChangedEventArgs
System.Deployment.Application.DeploymentProgressChangedEventArgs
System.Deployment.Application.DownloadProgressChangedEventArgs
System.Net.DownloadProgressChangedEventArgs
System.Net.UploadProgressChangedEventArgs
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
- ProgressChangedEventArgs クラスのページへのリンク