Obtains a counter sample and returns the calculated value for it. NOTE: For counters whose calculated value depend upon 2 counter reads, the very first read will return 0.0.
[Visual Basic] Public Function NextValue() As Single [C#] public float NextValue(); [C++] public: float NextValue(); [JScript] public function NextValue() : float;
Returns the next calculated value for this counter.
PerformanceCounter Class | PerformanceCounter Members | System.Diagnostics Namespace