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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。