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
- uiObjectId
Type: System.String
A UI object ID.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObject
The specified UI object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace