从列表中移除指定的测试。
命名空间:  Microsoft.VisualStudio.TestTools.Common
程序集:  Microsoft.VisualStudio.QualityTools.Common(在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
语法
声明
Sub RemoveTest ( _
    test As ITestElement _
)
void RemoveTest(
    ITestElement test
)
void RemoveTest(
    ITestElement^ test
)
abstract RemoveTest : 
        test:ITestElement -> unit 
function RemoveTest(
    test : ITestElement
)
参数
- test
 类型:Microsoft.VisualStudio.TestTools.Common.ITestElement
 要从列表中移除的 ITestList 对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。