共用方式為


ITestRun.AddTestPoints 方法

若要在測試回合中新的測試點。

必須由 Save() 後面。

由呼叫傳回的測試結果物件不可用於儲存之後。

命名空間:  Microsoft.TeamFoundation.TestManagement.Client
組件:  Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

語法

'宣告
Function AddTestPoints ( _
    points As IEnumerable(Of ITestPoint), _
    owner As TeamFoundationIdentity _
) As ITestCaseResultCollection
ITestCaseResultCollection AddTestPoints(
    IEnumerable<ITestPoint> points,
    TeamFoundationIdentity owner
)
ITestCaseResultCollection^ AddTestPoints(
    IEnumerable<ITestPoint^>^ points, 
    TeamFoundationIdentity^ owner
)
abstract AddTestPoints : 
        points:IEnumerable<ITestPoint> * 
        owner:TeamFoundationIdentity -> ITestCaseResultCollection 
function AddTestPoints(
    points : IEnumerable<ITestPoint>, 
    owner : TeamFoundationIdentity
) : ITestCaseResultCollection

參數

傳回值

型別:Microsoft.TeamFoundation.TestManagement.Client.ITestCaseResultCollection

.NET Framework 安全性

請參閱

參考

ITestRun 介面

Microsoft.TeamFoundation.TestManagement.Client 命名空間