UITestPropertyProvider.GetControlSupportLevel Method

When overridden in a derived class, returns a value that indicates the support level of this provider for the given control.

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

Syntax

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

Parameters

Return Value

Type: System.Int32
The support level of this provider for the given control.

.NET Framework Security

See Also

Reference

UITestPropertyProvider Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl

Other Resources

Enable Coded UI Testing of Your Custom Controls