Share via


TestRun.GetInnerTests(TestExecId) Method

Definition

Retrieves the inner tests for the test that has the specified execution ID.

public:
 cli::array <Microsoft::VisualStudio::TestTools::Common::ITestElement ^> ^ GetInnerTests(Microsoft::VisualStudio::TestTools::Common::TestExecId ^ executionId);
public Microsoft.VisualStudio.TestTools.Common.ITestElement[] GetInnerTests (Microsoft.VisualStudio.TestTools.Common.TestExecId executionId);
member this.GetInnerTests : Microsoft.VisualStudio.TestTools.Common.TestExecId -> Microsoft.VisualStudio.TestTools.Common.ITestElement[]
Public Function GetInnerTests (executionId As TestExecId) As ITestElement()

Parameters

executionId
TestExecId

The unique execution ID for the test.

Returns

The inner test that has the specified execution ID. Returns null if the test that has the specified execution ID is not present in the test run, or is not an aggregation.

Applies to