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
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 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
uiTestControl
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlA UITestControl control.
Return Value
Type: Type
The corresponding Type for the specialized control.
.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
Microsoft.VisualStudio.TestTools.UITesting Namespace