Lezen in het Engels

Delen via


ControlType.NameEquals Method

Determines whether the provided name and the value of the Name property are equal.

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

Syntax

C#
public bool NameEquals(
    string controlName
)

Parameters

Return Value

Type: System.Boolean
true if the provided name is equal to the Name property value; otherwise, false.

.NET Framework Security

See Also

Reference

ControlType Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

Name

Equals()