Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.
Namespace:
C1.WPFAssembly: C1.WPF (in C1.WPF.dll)
Syntax
| C# |
|---|
public bool Remove( int item ) |
| Visual Basic |
|---|
Public Function Remove ( _ item As Integer _ ) As Boolean |
Parameters
- item
- Type: System..::..Int32
The object to remove from the ICollection<(Of <(<'T>)>)>.
Return Value
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
| Exception | Condition |
|---|---|
| System..::..NotSupportedException | The ICollection<(Of <(<'T>)>)> is read-only. |