ITestAggregation.Elements 属性

当在派生类中实现时,获取一个 ID 数组,这些 ID 标识聚合到此聚合中的测试元素。

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

语法

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

属性值

类型:array<Microsoft.VisualStudio.TestTools.Common.TestId[]
一个由测试 ID 组成的数组。

.NET Framework 安全性

请参见

参考

ITestAggregation 接口

Microsoft.VisualStudio.TestTools.Common 命名空间