TestAndCategoryPair.ToTestId(TestAndCategoryPair) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a TestId object by using the provided TestAndCategoryPair object.
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
Parameters
- pair
- TestAndCategoryPair
A TestAndCategoryPair object.
Returns
A test ID object.