次の方法で共有


WebTest.InheritFromWebTest プロパティ

この Web パフォーマンス テストが別の Web パフォーマンス テストに含まれており、親 Web パフォーマンス テストからプロパティを継承する場合に、親 Web パフォーマンス テストの WebTest オブジェクトを取得します。

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

構文

'宣言
Public Property InheritFromWebTest As WebTest
public WebTest InheritFromWebTest { get; internal set; }
public:
property WebTest^ InheritFromWebTest {
    WebTest^ get ();
    internal: void set (WebTest^ value);
}
member InheritFromWebTest : WebTest with get, internal set
function get InheritFromWebTest () : WebTest
internal function set InheritFromWebTest (value : WebTest)

プロパティ値

型 : Microsoft.VisualStudio.TestTools.WebTesting.WebTest
この Web パフォーマンス テストが別の Web パフォーマンス テストに含まれておらず、その親 Web パフォーマンス テストを継承する場合は、WebTest オブジェクトを返します。
この Web パフォーマンス テストが別の Web パフォーマンス テストに含まれていないか、または親 Web パフォーマンス テストを継承しない場合は、nullnull 参照 (Visual Basic では Nothing) を返します。

.NET Framework セキュリティ

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

参照

関連項目

WebTest クラス

Microsoft.VisualStudio.TestTools.WebTesting 名前空間