UITechnologyElement.SwitchingElement Property

Gets or sets the container element if this element is hosted inside an element of another technology. This API supports the test framework infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public MustOverride Property SwitchingElement As IUITechnologyElement
public abstract IUITechnologyElement SwitchingElement { get; set; }
public:
virtual property IUITechnologyElement^ SwitchingElement {
    IUITechnologyElement^ get () abstract;
    void set (IUITechnologyElement^ value) abstract;
}
abstract SwitchingElement : IUITechnologyElement with get, set
abstract function get SwitchingElement () : IUITechnologyElement 
abstract function set SwitchingElement (value : IUITechnologyElement)

Property Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The container element, if hosted inside an element of another technology; otherwise, nulla null reference (Nothing in Visual Basic).

Implements

IUITechnologyElement.SwitchingElement

.NET Framework Security

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace