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.

UIObject::GetUIObjectFromPartialUIObjectId Method

Returns a UI object that is contained in this UI object by using the provided partial ID.

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

public:
UIObject^ GetUIObjectFromPartialUIObjectId(
	String^ partialUIObjectId
)

Parameters

partialUIObjectId
Type: System::String

A partial UI object ID that has parts that are separated by dots.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap::UIObject
A UI object, or nullptr if not found.

Show: