TestRun.Tests 屬性

取得根層級的測試。

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

語法

'宣告
Public ReadOnly Property Tests As ITestElement()
public ITestElement[] Tests { get; }
public:
property array<ITestElement^>^ Tests {
    array<ITestElement^>^ get ();
}
member Tests : ITestElement[] with get
function get Tests () : ITestElement[]

屬性值

型別:array<Microsoft.VisualStudio.TestTools.Common.ITestElement[]
在根層級的測試。

.NET Framework 安全性

請參閱

參考

TestRun 類別

Microsoft.VisualStudio.TestTools.Common 命名空間

ITestElement