다음을 통해 공유


Stopwatch.ElapsedMilliseconds Property

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

Gets the total elapsed time measured by the current instance, in milliseconds.

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

Syntax

'Declaration
Public ReadOnly Property ElapsedMilliseconds As Long
public long ElapsedMilliseconds { get; }

Property Value

Type: System.Int64
A read-only long integer representing the total number of milliseconds 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.