Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.

Namespace: Dapfor.Net.Data
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public bool Remove(
	T item
)
Visual Basic
Public Function Remove ( 
	item As T
) As Boolean
Visual C++
public:
virtual bool Remove(
	T item
) sealed
F#
abstract Remove : 
        item : 'T -> bool 
override Remove : 
        item : 'T -> bool 

Parameters

item
Type: T
The object to remove from the ICollection<(Of <(<'T>)>)>.

Return Value

Type: Boolean
true if item was successfully removed from the ICollection<(Of <(<'T>)>)>; otherwise, false. This method also returns false if item is not found in the original ICollection<(Of <(<'T>)>)>.

Implements

ICollection<(Of <(<'T>)>)>..::..Remove(T)

Exceptions

See Also