Share via


WebTest.InheritFromWebTest Property

Gets the WebTest object for the parent Web test when this Web test is included in another Web test and is inheriting properties from the parent Web test.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property InheritFromWebTest As WebTest
'Usage
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)

Property Value

Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTest
Returns a WebTest object if this Web test is not included in another Web test and inherits from that parent Web test.
Returns NULL if this Web test is not included in another Web test or does not inherit from a parent Web test.

.NET Framework Security

See Also

Reference

WebTest Class

WebTest Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace