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