Bagikan melalui


UITechnologyManager.GetControlSupportLevel Method

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
Public MustOverride Function GetControlSupportLevel ( _
    windowHandle As IntPtr _
) As Integer
public abstract int GetControlSupportLevel(
    IntPtr windowHandle
)
public:
virtual int GetControlSupportLevel(
    IntPtr windowHandle
) abstract
abstract GetControlSupportLevel : 
        windowHandle:IntPtr -> int
public abstract 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.

Implements

IUITechnologyManager.GetControlSupportLevel(IntPtr)

.NET Framework Security

See Also

Reference

UITechnologyManager Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IntPtr