UIObject.Remove Method (UIObject)

Removes the provided UI object from the descendent objects in this UI object.

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

Return Value

Type: System.Boolean
true if the specified object was removed; otherwise, false.

.NET Framework Security

See Also

Reference

UIObject Class

Remove Overload

Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace