Share via


EqtBaseCollection<T>.Remove Method

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

See Also

Reference

EqtBaseCollection<T> Class

Microsoft.VisualStudio.TestTools.Common Namespace