AutomationElement.Equals Method (Object)
Assembly: UIAutomationClient (in UIAutomationClient.dll)
Two elements that compare as equal may contain different cached information from different points in time. The equality check only tests that the AutomationElement objects refer to the same underlying user interface element; that is, that they have the same run-time identifier.
This method is equivalent to the equality operator, which also compare run-time identifiers.
Available since 3.0