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!

Counter.GetElapsed

Gets the elapsed time in seconds since the last time GetElapsed was called.

[Visual Basic]
Public Shared Function GetElapsed() As Single
[C#]
public static float GetElapsed();
[C++]
public: static float GetElapsed();
[JScript]
public static function GetElapsed() : float;

Return Value

The elapsed time in seconds since the last time GetElapsed was called.

Remarks

Use this property to determine the amount of elapsed time for an operation. The first time GetElapsed is called it will return zero (0).

See Also

Counter Class | Counter Members | System.Diagnostics Namespace