UITestPropertyProvider.GetSpecializedClass 方法

在派生类中重写时,为给定测试控件返回相应专用控件(用于 HTML、Windows Forms 或 Windows Presentation Foundation)的 Type

命名空间:  Microsoft.VisualStudio.TestTools.UITesting
程序集:  Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)

语法

声明
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

参数

返回值

类型:System.Type
专用控件对应的 Type

.NET Framework 安全性

请参见

参考

UITestPropertyProvider 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间

UITestControl