共用方式為


ITmi.AddOrUpdateTests 方法

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

使用提供的測試集合,在測試管理介面中加入或更新測試。

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

語法

'宣告
Sub AddOrUpdateTests ( _
    tests As ICollection _
)
void AddOrUpdateTests(
    ICollection tests
)
void AddOrUpdateTests(
    ICollection^ tests
)
abstract AddOrUpdateTests : 
        tests:ICollection -> unit 
function AddOrUpdateTests(
    tests : ICollection
)

參數

備註

已在 Visual Studio Test Professional 使用者介面中進行的測試,否則會加入該測試。

.NET Framework 安全性

請參閱

參考

ITmi 介面

Microsoft.VisualStudio.TestTools.Common 命名空間

TestElement