共用方式為


ITmi.GetTestsNotInAnyTestList 方法 (TestRun)

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

取得測試的陣列,這些測試不在 Visual Studio Test Professional 使用者介面的任一測試清單中,而在提供的測試回合中。

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

語法

'宣告
Function GetTestsNotInAnyTestList ( _
    run As TestRun _
) As ITestElement()
ITestElement[] GetTestsNotInAnyTestList(
    TestRun run
)
array<ITestElement^>^ GetTestsNotInAnyTestList(
    TestRun^ run
)
abstract GetTestsNotInAnyTestList : 
        run:TestRun -> ITestElement[] 
function GetTestsNotInAnyTestList(
    run : TestRun
) : ITestElement[]

參數

傳回值

型別:array<Microsoft.VisualStudio.TestTools.Common.ITestElement[]
未分類測試的陣列,如果沒有載入任何測試,或是沒有任何測試未經分類,則為空陣列。

.NET Framework 安全性

請參閱

參考

ITmi 介面

GetTestsNotInAnyTestList 多載

Microsoft.VisualStudio.TestTools.Common 命名空間

TestRun