Stopwatch.Elapsed Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the total elapsed time measured by the current instance.

Namespace:  System.Diagnostics
Assembly:  System (in System.dll)

Syntax

'Declaration
Public ReadOnly Property Elapsed As TimeSpan
public TimeSpan Elapsed { get; }

Property Value

Type: System.TimeSpan
A read-only TimeSpan representing the total time measured by the current instance.

Version Information

XNA Framework

Supported in: Xbox 360

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.