PerformanceCounter.CounterName プロパティ
アセンブリ: System (system.dll 内)

Dim instance As PerformanceCounter Dim value As String value = instance.CounterName instance.CounterName = value
/** @property */ public String get_CounterName () /** @property */ public void set_CounterName (String value)
カウンタ名は、通常、カウントする量を説明します。この名前は、パフォーマンス カウンタ マネージャ MMC スナップインの [カウンタの追加] ダイアログ ボックスのカウンタの一覧に表示されます。

例外の種類 | 条件 |
---|---|
ArgumentNullException | CounterName が null 参照 (Visual Basic では Nothing) です。 |
PlatformNotSupportedException | プラットフォームが Windows 98 または Windows Millennium Edition (Me) です。パフォーマンス カウンタはサポートされません。 |

Dim PC As New PerformanceCounter() PC.CategoryName = "Process" PC.CounterName = "Private Bytes" PC.InstanceName = "Explorer" MessageBox.Show(PC.NextValue().ToString())
PerformanceCounter PC=new PerformanceCounter(); PC.CategoryName="Process"; PC.CounterName="Private Bytes"; PC.InstanceName="Explorer"; MessageBox.Show(PC.NextValue().ToString());
PerformanceCounter^ PC = gcnew PerformanceCounter; PC->CategoryName = "Process"; PC->CounterName = "Private Bytes"; PC->InstanceName = "Explorer"; MessageBox::Show( PC->NextValue().ToString() );

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からPerformanceCounter.CounterName プロパティを検索する場合は、下記のリンクをクリックしてください。

- PerformanceCounter.CounterName プロパティのページへのリンク