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::Add Method
Adds the given UI object to the descendents of this UI object, if the given UI object does not already exist.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Parameters
- uiObject
- Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap::UIObject
The UI object to add.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap::UIObjectThe added or existing object.
- 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.
Show: