Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.
Namespace: Dapfor.Wpf.DataAssembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)
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. |