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
public bool IsCodeCoverageEnabled { get; set; }
public:
property bool IsCodeCoverageEnabled {
    bool get ();
    void set (bool value);
}
member IsCodeCoverageEnabled : bool with get, set
function get IsCodeCoverageEnabled () : boolean
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

Microsoft.VisualStudio.TestTools.Common Namespace