UIMap.Remove Method
Removes the given UI object from this map.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Function Remove ( _
uiObject As UIObject _
) As Boolean
public bool Remove(
UIObject uiObject
)
public:
bool Remove(
UIObject^ uiObject
)
member Remove :
uiObject:UIObject -> bool
public function Remove(
uiObject : UIObject
) : boolean
Parameters
uiObject
Type: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap.UIObjectA UIObject.
Return Value
Type: Boolean
true if the UI object was successfully removed; otherwise, false.
.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