Share via


TestAndCategoryPair.ToTestListCategoryId Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a TestListCategoryId object by using the provided TestAndCategoryPair object.

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

Syntax

'Declaration
Public Shared Function ToTestListCategoryId ( _
    pair As TestAndCategoryPair _
) As TestListCategoryId
public static TestListCategoryId ToTestListCategoryId(
    TestAndCategoryPair pair
)
public:
static TestListCategoryId^ ToTestListCategoryId(
    TestAndCategoryPair^ pair
)
static member ToTestListCategoryId : 
        pair:TestAndCategoryPair -> TestListCategoryId
public static function ToTestListCategoryId(
    pair : TestAndCategoryPair
) : TestListCategoryId

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.Common.TestListCategoryId
A test list category ID object.

.NET Framework Security

See Also

Reference

TestAndCategoryPair Class

Microsoft.VisualStudio.TestTools.Common Namespace

TestListCategoryId