ITmi.GetTestRunConfigurations 方法

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

返回 Visual Studio 专业测试工具版的 UI 中所有的已加载测试运行配置。

命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

语法

声明
Function GetTestRunConfigurations As TestRunConfiguration()
TestRunConfiguration[] GetTestRunConfigurations()
array<TestRunConfiguration^>^ GetTestRunConfigurations()
abstract GetTestRunConfigurations : unit -> TestRunConfiguration[] 
function GetTestRunConfigurations() : TestRunConfiguration[]

返回值

类型:array<Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration[]
一个由测试运行配置组成的数组。

.NET Framework 安全性

请参见

参考

ITmi 接口

Microsoft.VisualStudio.TestTools.Common 命名空间

TestRunConfiguration