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.
We recommend using Visual Studio 2017

UIMap.GetUIObjectNameForElement Method

Returns the name of the UI object that corresponds to the provided UI element.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

public string GetUIObjectNameForElement(
	UITechnologyElement element

Return Value

Type: System.String
The name of the corresponding UI object.