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;
The elapsed time in seconds since the last time GetElapsed was called.
Use this property to determine the amount of elapsed time for an operation. The first time GetElapsed is called it will return zero (0).
Counter Class | Counter Members | System.Diagnostics Namespace