Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NameEquals Method
Collapse the table of content
Expand the table of content

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)

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.

Community Additions

ADD
Show:
© 2015 Microsoft