Share via


ControlType.GetControlType Method (String, String)

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

Syntax

'Declaration
Public Shared Function GetControlType ( _
    name As String, _
    friendlyName As String _
) As ControlType
public static ControlType GetControlType(
    string name,
    string friendlyName
)
public:
static ControlType^ GetControlType(
    String^ name, 
    String^ friendlyName
)
static member GetControlType : 
        name:string * 
        friendlyName:string -> ControlType
public static function GetControlType(
    name : String, 
    friendlyName : String
) : ControlType

Parameters

  • name
    Type: String
  • friendlyName
    Type: String

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.ControlType

.NET Framework Security

See Also

Reference

ControlType Class

GetControlType Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace