IExecutionRunConfiguration.TestElements 属性

获取运行中的测试元素的列表。

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

语法

声明
ReadOnly Property TestElements As ITestElement()
    Get
ITestElement[] TestElements { get; }
property array<ITestElement^>^ TestElements {
    array<ITestElement^>^ get ();
}
abstract TestElements : ITestElement[]
function get TestElements () : ITestElement[]

属性值

类型:array<Microsoft.VisualStudio.TestTools.Common.ITestElement[]
返回测试运行中的测试元素的列表。

.NET Framework 安全性

请参见

参考

IExecutionRunConfiguration 接口

Microsoft.VisualStudio.TestTools.Execution 命名空间