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

Namespace: BrightstarDB.EntityFramework
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

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