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: IntPtrThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
UITechnologyManagerProxy Class