Share via


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)

Syntax

'Declaration
Public Function GetUIObjectFromUIObjectId ( _
    uiObjectId As String _
) As UIObject
public UIObject GetUIObjectFromUIObjectId(
    string uiObjectId
)
public:
UIObject^ GetUIObjectFromUIObjectId(
    String^ uiObjectId
)
member GetUIObjectFromUIObjectId : 
        uiObjectId:string -> UIObject 
public function GetUIObjectFromUIObjectId(
    uiObjectId : String
) : UIObject

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

UIMap Class

Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace

UIObject