Stopwatch.IsRunning Propriété

Définition

Obtient une valeur indiquant si le Stopwatch minuteur est en cours d’exécution.

public:
 property bool IsRunning { bool get(); };
public bool IsRunning { get; }
member this.IsRunning : bool
Public ReadOnly Property IsRunning As Boolean

Valeur de propriété

true si l’instance Stopwatch est en cours d’exécution et mesure le temps écoulé pendant un intervalle ; sinon, false.

Remarques

Une Stopwatch instance commence à s’exécuter avec un appel à Start ou StartNew. L’instance cesse de s’exécuter avec un appel à Stop ou Reset.

S’applique à

Voir aussi