次の方法で共有


TestElement コンストラクター (TestId, String, String, String)

TestElement クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.VisualStudio.TestTools.Common
アセンブリ:  Microsoft.VisualStudio.QualityTools.Common (Microsoft.VisualStudio.QualityTools.Common.dll 内)

構文

'宣言
Protected Sub New ( _
    id As TestId, _
    name As String, _
    description As String, _
    storage As String _
)
protected TestElement(
    TestId id,
    string name,
    string description,
    string storage
)
protected:
TestElement(
    TestId^ id, 
    String^ name, 
    String^ description, 
    String^ storage
)
new : 
        id:TestId * 
        name:string * 
        description:string * 
        storage:string -> TestElement
protected function TestElement(
    id : TestId, 
    name : String, 
    description : String, 
    storage : String
)

パラメーター

  • description
    型 : System.String
    このテスト要素の説明。
  • storage
    型 : System.String
    関連ファイルが格納される、サーバー上のフォルダーの相対パス。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

TestElement クラス

TestElement オーバーロード

Microsoft.VisualStudio.TestTools.Common 名前空間

TestId