共用方式為


ITestCaseHelper.Find 方法 (Int32, Int32)

使用指定的測試案例識別碼和版本,從伺服器擷取測試案例。

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

語法

'宣告
Function Find ( _
    testCaseId As Integer, _
    revision As Integer _
) As ITestCase
ITestCase Find(
    int testCaseId,
    int revision
)
ITestCase^ Find(
    int testCaseId, 
    int revision
)
abstract Find : 
        testCaseId:int * 
        revision:int -> ITestCase
function Find(
    testCaseId : int, 
    revision : int
) : ITestCase

參數

  • testCaseId
    類型:Int32

    所要求測試案例的識別碼。

  • revision
    類型:Int32

    測試案例修訂編號。

傳回值

類型:Microsoft.TeamFoundation.TestManagement.Client.ITestCase
要求的 ITestCase 物件。

.NET Framework 安全性

請參閱

參考

ITestCaseHelper 介面

Find 多載

Microsoft.TeamFoundation.TestManagement.Client 命名空間

ITestCase