Share via


UITechnologyElement.IsTreeSwitchingRequired Property

Gets a value that indicates whether tree switching is required for windowless tree switching cases.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property IsTreeSwitchingRequired As Boolean
public abstract bool IsTreeSwitchingRequired { get; }
public:
virtual property bool IsTreeSwitchingRequired {
    bool get () abstract;
}
abstract IsTreeSwitchingRequired : bool
abstract function get IsTreeSwitchingRequired () : boolean

Property Value

Type: System.Boolean
true if tree switching is required; otherwise, false.

Implements

IUITechnologyElement.IsTreeSwitchingRequired

Remarks

An example of a control that requires tree switching would be an ActiveX control that is hosted inside the browser. The technology manager of the browser must return true when the browser is queried about this property for an HTML OBJECT tag. This will allow the framework to switch to a different technology manager to support the hosted ActiveX control.

.NET Framework Security

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace