Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.