Share via


UITechnologyManagerProxy.GetControlSupportLevel Method

Gets the support level of this technology manager for the elements(s) in the given window.

The framework uses this function to select the correct technology manager for the element.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overrides Function GetControlSupportLevel ( _
    windowHandle As IntPtr _
) As Integer
public override int GetControlSupportLevel(
    IntPtr windowHandle
)
public:
virtual int GetControlSupportLevel(
    IntPtr windowHandle
) override
abstract GetControlSupportLevel : 
        windowHandle:IntPtr -> int  
override GetControlSupportLevel : 
        windowHandle:IntPtr -> int
public override function GetControlSupportLevel(
    windowHandle : IntPtr
) : int

Parameters

  • windowHandle
    Type: IntPtr

    The window handle of the element.

Return Value

Type: Int32
An integer that indicates the level of support provided for the element by this technology manager. The higher the value the stronger the support.

Implements

IUITechnologyManager.GetControlSupportLevel(IntPtr)

.NET Framework Security

See Also

Reference

UITechnologyManagerProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

ControlSupport