Share via


TestRunConfiguration.IsCodeCoverageEnabled Property

Gets or sets a Boolean value that indicates whether code coverage collection is enabled for this test run.

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

Syntax

'Declaration
Public Property IsCodeCoverageEnabled As Boolean
'Usage
Dim instance As TestRunConfiguration 
Dim value As Boolean 

value = instance.IsCodeCoverageEnabled

instance.IsCodeCoverageEnabled = value
public bool IsCodeCoverageEnabled { get; set; }
public:
property bool IsCodeCoverageEnabled {
    bool get ();
    void set (bool value);
}
public function get IsCodeCoverageEnabled () : boolean 
public function set IsCodeCoverageEnabled (value : boolean)

Property Value

Type: System.Boolean
true if the code coverage collection is enabled; otherwise, false.

.NET Framework Security

See Also

Reference

TestRunConfiguration Class

TestRunConfiguration Members

Microsoft.VisualStudio.TestTools.Common Namespace