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