Share via


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 .

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

Syntax

'Declaration
Function GetTests As ITestElement()
'Usage
Dim instance As ITmi 
Dim returnValue As ITestElement()

returnValue = instance.GetTests()
ITestElement[] GetTests()
array<ITestElement^>^ GetTests()
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

ITmi Members

Microsoft.VisualStudio.TestTools.Common Namespace

TestElement