TestAndCategoryPair Constructor (TestId, TestListCategoryId, Boolean, Boolean)

Initializes a new instance of the TestAndCategoryPair class by using the provided test and category IDs and the indicator for a broken link.

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

Syntax

'Declaration
Public Sub New ( _
    testId As TestId, _
    categoryId As TestListCategoryId, _
    isBrokenLink As Boolean, _
    isEnabled As Boolean _
)
public TestAndCategoryPair(
    TestId testId,
    TestListCategoryId categoryId,
    bool isBrokenLink,
    bool isEnabled
)
public:
TestAndCategoryPair(
    TestId^ testId, 
    TestListCategoryId^ categoryId, 
    bool isBrokenLink, 
    bool isEnabled
)
new : 
        testId:TestId * 
        categoryId:TestListCategoryId * 
        isBrokenLink:bool * 
        isEnabled:bool -> TestAndCategoryPair
public function TestAndCategoryPair(
    testId : TestId, 
    categoryId : TestListCategoryId, 
    isBrokenLink : boolean, 
    isEnabled : boolean
)

Parameters

  • isBrokenLink
    Type: System.Boolean
    true if the link between the test and category is broken.
  • isEnabled
    Type: System.Boolean
    true if the link between the test and the category is enabled.

.NET Framework Security

See Also

Reference

TestAndCategoryPair Class

TestAndCategoryPair Overload

Microsoft.VisualStudio.TestTools.Common Namespace

TestId

TestListCategoryId