ITestCaseHelper.Create 方法
建立新的測試案例物件,只有在呼叫測試案例的 Save 方法時,才會在伺服器上建立這個物件。
命名空間: Microsoft.TeamFoundation.TestManagement.Client
組件: Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
語法
'宣告
Function Create As ITestCase
ITestCase Create()
ITestCase^ Create()
abstract Create : unit -> ITestCase
function Create() : ITestCase
傳回值
類型:Microsoft.TeamFoundation.TestManagement.Client.ITestCase
新的 ITestCase 物件。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。