Share via


TestAndCategoryPair.ToTestId Method

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

Returns a TestId 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 ToTestId ( _
    pair As TestAndCategoryPair _
) As TestId
public static TestId ToTestId(
    TestAndCategoryPair pair
)
public:
static TestId^ ToTestId(
    TestAndCategoryPair^ pair
)
static member ToTestId : 
        pair:TestAndCategoryPair -> TestId
public static function ToTestId(
    pair : TestAndCategoryPair
) : TestId

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.Common.TestId
A test ID object.

.NET Framework Security

See Also

Reference

TestAndCategoryPair Class

Microsoft.VisualStudio.TestTools.Common Namespace

TestId