ITmi.GetTests Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns all tests that are loaded in the UI of Visual Studio Test Professional.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Function GetTests As ITestElement()
ITestElement[] GetTests()
array<ITestElement^>^ GetTests()
abstract GetTests : unit -> ITestElement[] 
function GetTests() : ITestElement[]

Return Value

Type: array<Microsoft.VisualStudio.TestTools.Common.ITestElement[]
An array of test elements.

.NET Framework Security

See Also

Reference

ITmi Interface

Microsoft.VisualStudio.TestTools.Common Namespace

TestElement