Share via


TestAndCategoryPair Constructor (TestId, TestListCategoryId)

Initializes a new instance of the TestAndCategoryPair class by using the provided test ID and category ID.

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 _
)
public TestAndCategoryPair(
    TestId testId,
    TestListCategoryId categoryId
)
public:
TestAndCategoryPair(
    TestId^ testId, 
    TestListCategoryId^ categoryId
)
new : 
        testId:TestId * 
        categoryId:TestListCategoryId -> TestAndCategoryPair
public function TestAndCategoryPair(
    testId : TestId, 
    categoryId : TestListCategoryId
)

Parameters

.NET Framework Security

See Also

Reference

TestAndCategoryPair Class

TestAndCategoryPair Overload

Microsoft.VisualStudio.TestTools.Common Namespace

TestId

TestListCategoryId