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.

UIMap::GetUIObjectFromUIObjectId Method

Returns the UI object that is specified by the provided ID.

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

public:
UIObject^ GetUIObjectFromUIObjectId(
	String^ uiObjectId
)

Parameters

uiObjectId
Type: System::String

A UI object ID.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap::UIObject
The specified UI object.

Show: