TestAndCategoryPair.ToTestId(TestAndCategoryPair) 方法

定义

TestId使用提供的对象返回一个对象 TestAndCategoryPair

public:
 static Microsoft::VisualStudio::TestTools::Common::TestId ^ ToTestId(Microsoft::VisualStudio::TestTools::Common::TestAndCategoryPair ^ pair);
public static Microsoft.VisualStudio.TestTools.Common.TestId ToTestId (Microsoft.VisualStudio.TestTools.Common.TestAndCategoryPair pair);
static member ToTestId : Microsoft.VisualStudio.TestTools.Common.TestAndCategoryPair -> Microsoft.VisualStudio.TestTools.Common.TestId
Public Shared Function ToTestId (pair As TestAndCategoryPair) As TestId

参数

返回

TestId

测试 ID 对象。

适用于