TestElement 建構函式 (String, String, String)
使用提供的名稱、描述和儲存區,初始化 TestElement 類別的新執行個體。
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
Protected Sub New ( _
name As String, _
description As String, _
storage As String _
)
protected TestElement(
string name,
string description,
string storage
)
protected:
TestElement(
String^ name,
String^ description,
String^ storage
)
new :
name:string *
description:string *
storage:string -> TestElement
protected function TestElement(
name : String,
description : String,
storage : String
)
參數
- name
型別:System.String
測試項目的名稱。
- description
型別:System.String
測試項目的描述。
- storage
型別:System.String
伺服器上用來儲存相關聯檔案之資料夾的相對路徑。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。