共用方式為


IExecutionRunConfiguration.TestElements 屬性

取得回合中的測試項目清單。

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

語法

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

屬性值

型別:array<Microsoft.VisualStudio.TestTools.Common.ITestElement[]
傳回測試回合中的測試項目清單。

.NET Framework 安全性

請參閱

參考

IExecutionRunConfiguration 介面

Microsoft.VisualStudio.TestTools.Execution 命名空間