Share via


ITmi.GetTest(TestId) Method

Definition

Returns the test element that corresponds to the specified test ID.

public:
 Microsoft::VisualStudio::TestTools::Common::ITestElement ^ GetTest(Microsoft::VisualStudio::TestTools::Common::TestId ^ testId);
public Microsoft.VisualStudio.TestTools.Common.ITestElement GetTest (Microsoft.VisualStudio.TestTools.Common.TestId testId);
abstract member GetTest : Microsoft.VisualStudio.TestTools.Common.TestId -> Microsoft.VisualStudio.TestTools.Common.ITestElement
Public Function GetTest (testId As TestId) As ITestElement

Parameters

testId
TestId

A TestId object.

Returns

A test element.

Applies to