Partager via


ControlType.NameEquals Method

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

Syntax

'Declaration
Public Function NameEquals ( _
    controlName As String _
) As Boolean
public bool NameEquals(
    string controlName
)
public:
bool NameEquals(
    String^ controlName
)
member NameEquals : 
        controlName:string -> bool
public function NameEquals(
    controlName : String
) : boolean

Parameters

  • controlName
    Type: String

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

ControlType Class

Microsoft.VisualStudio.TestTools.UITesting Namespace