次の方法で共有


Stopwatch.IsRunning Property

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

Gets a value indicating whether the Stopwatch timer is running.

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

Syntax

'Declaration
Public ReadOnly Property IsRunning As Boolean
public bool IsRunning { get; }

Property Value

Type: System.Boolean
true if the Stopwatch instance is currently running and measuring elapsed time for an interval; otherwise, false.

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.