Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.
Namespace: Dapfor.Net.DataAssembly: 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: Booleantrue 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
Exception | Condition |
---|---|
System..::..NotSupportedException | The ICollection<(Of <(<'T>)>)> is read-only. |