Partager via


UITestActionExecutor.GetControlSupportLevel Method

Gets the support level of the provider for the specified control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public MustOverride Function GetControlSupportLevel ( _
    control As UITechnologyElement _
) As Integer
public abstract int GetControlSupportLevel(
    UITechnologyElement control
)
public:
virtual int GetControlSupportLevel(
    UITechnologyElement^ control
) abstract
abstract GetControlSupportLevel : 
        control:UITechnologyElement -> int
public abstract function GetControlSupportLevel(
    control : UITechnologyElement
) : int

Parameters

Return Value

Type: Int32
The support level for the control.

.NET Framework Security

See Also

Reference

UITestActionExecutor Class

Microsoft.VisualStudio.TestTools.UITesting Namespace