共用方式為


ITestAggregation.Elements 屬性

在衍生類別中實作時取得 ID 的陣列,這些 ID 會識別彙總至這個彙總的測試項目。

命名空間:  Microsoft.VisualStudio.TestTools.Common
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

'宣告
ReadOnly Property Elements As TestId()
TestId[] Elements { get; }
property array<TestId^>^ Elements {
    array<TestId^>^ get ();
}
abstract Elements : TestId[] with get
function get Elements () : TestId[]

屬性值

型別:array<Microsoft.VisualStudio.TestTools.Common.TestId[]
測試 ID 的陣列。

.NET Framework 安全性

請參閱

參考

ITestAggregation 介面

Microsoft.VisualStudio.TestTools.Common 命名空間