Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ControlType::NameEquals Method (String^)

 

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)

public:
bool NameEquals(
	String^ controlName
)

Parameters

controlName
Type: System::String^

The name to compare.

Return Value

Type: System::Boolean

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

Name
Overload:Microsoft.VisualStudio.TestTools.UITesting.ControlType.Equals
ControlType Class
Microsoft.VisualStudio.TestTools.UITesting Namespace

Return to top
Show: