Compartir a través de


ITestList.GetTests Method

Retrieves an array of tests in the current list.

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 ITestList objects.

.NET Framework Security

See Also

Reference

ITestList Interface

Microsoft.VisualStudio.TestTools.Common Namespace

GetMissingTests