共用方式為


ITmi.GetTestsNotInAnyTestList 方法

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

取得測試陣列,這些測試不屬於 Visual Studio Test Professional 的 UI 中的任何測試清單。

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

語法

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

傳回值

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

.NET Framework 安全性

請參閱

參考

ITmi 介面

GetTestsNotInAnyTestList 多載

Microsoft.VisualStudio.TestTools.Common 命名空間

TestElement