DataCollectionContext.HasTestCase Property

Definition

Gets a value that indicates whether an executing test case is associated with this context.

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

Property Value

true if an associated test case is being executed; otherwise, false.

Applies to