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)
Syntax
'Declaration
Public Function GetUIObjectFromPartialUIObjectId ( _
partialUIObjectId As String _
) As UIObject
public UIObject GetUIObjectFromPartialUIObjectId(
string partialUIObjectId
)
public:
UIObject^ GetUIObjectFromPartialUIObjectId(
String^ partialUIObjectId
)
member GetUIObjectFromPartialUIObjectId :
partialUIObjectId:string -> UIObject
public function GetUIObjectFromPartialUIObjectId(
partialUIObjectId : String
) : UIObject
Parameters
partialUIObjectId
Type: StringA 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 nulla null reference (Nothing in Visual Basic) if not found.
.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