Delen via


DataCollectorEnabledByDefaultAttribute.IsEnabledByDefault Property

Gets or sets the enabled-by-default state.

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

Syntax

'Declaration
Public Property IsEnabledByDefault As Boolean
public bool IsEnabledByDefault { get; private set; }
public:
property bool IsEnabledByDefault {
    bool get ();
    private: void set (bool value);
}
member IsEnabledByDefault : bool with get, private set
function get IsEnabledByDefault () : boolean 
private function set IsEnabledByDefault (value : boolean)

Property Value

Type: Boolean
A bool value that indicates whether the diagnostic data adapter is enabled by default.

.NET Framework Security

See Also

Reference

DataCollectorEnabledByDefaultAttribute Class

Microsoft.VisualStudio.TestTools.Execution Namespace

DataCollectorEnabledByDefaultAttribute

Other Resources

How to: Create a Diagnostic Data Adapter