Share via


TestElement.IsRunOnRestart Property

Gets or sets a value that indicates whether this test element is to be run if the test run is restarted.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Property IsRunOnRestart As Boolean
'Usage
Dim instance As TestElement 
Dim value As Boolean 

value = instance.IsRunOnRestart

instance.IsRunOnRestart = value
public bool IsRunOnRestart { get; set; }
public:
virtual property bool IsRunOnRestart {
    bool get () sealed;
    void set (bool value) sealed;
}
public final function get IsRunOnRestart () : boolean 
public final function set IsRunOnRestart (value : boolean)

Property Value

Type: System.Boolean
true if this test element is to be run if the test run is restarted; otherwise, false.

Implements

ITestElement.IsRunOnRestart

.NET Framework Security

See Also

Reference

TestElement Class

TestElement Members

Microsoft.VisualStudio.TestTools.Common Namespace