Information
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.

UITestControlCollection::Remove Method (UITestControl^)

 

Removes the first occurrence of UITestControl from the UITestControlCollection.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public:
virtual bool Remove(
	UITestControl^ item
) sealed

Return Value

Type: System::Boolean

true if item was found and removed; otherwise, false.

Return to top
Show: