Removes the provided item from the collection, if the item exists.
Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Overridable Function Remove ( _
    item As T _
) As Boolean
public virtual bool Remove(
    T item
)
public:
virtual bool Remove(
    T item
)
abstract Remove : 
        item:'T -> bool  
override Remove : 
        item:'T -> bool
public function Remove(
    item : T
) : boolean
Parameters
- item 
 Type: T- An object of type T. 
Return Value
Type: Boolean
true if the item was removed from the collection; otherwise, false.
Implements
ICollection.Remove(UTP)
.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.