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
- pair 
 Type: Microsoft.VisualStudio.TestTools.Common.TestAndCategoryPair- A TestAndCategoryPair object. 
Return Value
Type: Microsoft.VisualStudio.TestTools.Common.TestListCategoryId
A test list category ID object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.