Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
Function AddTest ( _
test As ITestElement _
) As ITestElement
'使用
Dim instance As ITmi
Dim test As ITestElement
Dim returnValue As ITestElement
returnValue = instance.AddTest(test)
ITestElement AddTest(
ITestElement test
)
ITestElement^ AddTest(
ITestElement^ test
)
function AddTest(
test : ITestElement
) : ITestElement
Parameters
Return Value
Type: Microsoft.VisualStudio.TestTools.Common.ITestElement
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.