Share via


UITestPropertyProvider.GetSpecializedClass Method

When overridden in a derived class, returns the Type for the corresponding specialized control (for HTML, Windows Forms, or Windows Presentation Foundation) for the given test control.

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

Syntax

'Declaration
Public MustOverride Function GetSpecializedClass ( _
    uiTestControl As UITestControl _
) As Type
public abstract Type GetSpecializedClass(
    UITestControl uiTestControl
)
public:
virtual Type^ GetSpecializedClass(
    UITestControl^ uiTestControl
) abstract
abstract GetSpecializedClass : 
        uiTestControl:UITestControl -> Type
public abstract function GetSpecializedClass(
    uiTestControl : UITestControl
) : Type

Parameters

Return Value

Type: Type
The corresponding Type for the specialized control.

.NET Framework Security

See Also

Reference

UITestPropertyProvider Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl

Other Resources

Enable Coded UI Testing of Your Controls