NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

PerformanceCounter.NextValue

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;

Return Value

Returns the next calculated value for this counter.

See Also

PerformanceCounter Class | PerformanceCounter Members | System.Diagnostics Namespace