Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Function Add ( _
uiObject As UIObject _
) As UIObject
public UIObject Add(
UIObject uiObject
)
public:
UIObject^ Add(
UIObject^ uiObject
)
member Add :
uiObject:UIObject -> UIObject
public function Add(
uiObject : UIObject
) : UIObject
Parameters
uiObject
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObjectThe UI object to add.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObject
The added or existing 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