Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'宣言
Public Function GetTestElement ( _
executionId As TestExecId _
) As ITestElement
'使用
Dim instance As TestRun
Dim executionId As TestExecId
Dim returnValue As ITestElement
returnValue = instance.GetTestElement(executionId)
public ITestElement GetTestElement(
TestExecId executionId
)
public:
ITestElement^ GetTestElement(
TestExecId^ executionId
)
public function GetTestElement(
executionId : TestExecId
) : ITestElement
Parameters
- executionId
Type: Microsoft.VisualStudio.TestTools.Common.TestExecId
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.