Partager via


IUITechnologyManager.GetControlSupportLevel Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns the indication of confidence for this technology manager that it can support the control that is identified with the provided handle.

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

Syntax

'Declaration
Function GetControlSupportLevel ( _
    windowHandle As IntPtr _
) As Integer
int GetControlSupportLevel(
    IntPtr windowHandle
)
int GetControlSupportLevel(
    IntPtr windowHandle
)
abstract GetControlSupportLevel : 
        windowHandle:IntPtr -> int
function GetControlSupportLevel(
    windowHandle : IntPtr
) : int

Parameters

  • windowHandle
    Type: IntPtr

    The window handle for a specific element.

Return Value

Type: Int32
An int that indicates the level of support.

.NET Framework Security

See Also

Reference

IUITechnologyManager Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IntPtr