WebTest.InheritFromWebTest プロパティ

更新 : 2007 年 11 月

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

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

構文

'宣言
Public Property InheritFromWebTest As WebTest
'使用
Dim instance As WebTest
Dim value As WebTest

value = instance.InheritFromWebTest

instance.InheritFromWebTest = value
public WebTest InheritFromWebTest { get; internal set; }
public:
property WebTest^ InheritFromWebTest {
    WebTest^ get ();
    void set (WebTest^ value);
}
public function get InheritFromWebTest () : WebTest
public function set InheritFromWebTest (value : WebTest)

プロパティ値

型 : Microsoft.VisualStudio.TestTools.WebTesting.WebTest

この Web テストが別の Web テストに含まれておらず、その親 Web テストを継承する場合は、WebTest オブジェクトを返します。

この Web テストが別の Web テストに含まれていないか、または親 Web テストを継承しない場合は、NULL を返します。

アクセス許可

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

参照

参照

WebTest クラス

WebTest メンバ

Microsoft.VisualStudio.TestTools.WebTesting 名前空間