ICollection<(Of <(<'T>)>)>..::..Remove Method
Removes the first occurrence of a specific object from the ICollection<(Of <(<'T>)>)>.
Namespace:
System.Collections.GenericAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] bool Remove( T item )
<TemplateAttribute> _ Function Remove ( _ item As T _ ) As Boolean
[TemplateAttribute] bool^ Remove( T item )
Parameters
- item
- Type: T
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>)>)>.Exceptions
Exception | Condition |
---|---|
System..::..NotSupportedException | The ICollection<(Of <(<'T>)>)> is read-only. |