次の方法で共有


Stopwatch.ElapsedTicks Property

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

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

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

Syntax

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

Property Value

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