UniqueList<T>.ICollection<T>.Remove Method |
Removes the first occurrence of a specific object from the ICollection<T>.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.12.0.0 (5.12.0)
Syntaxbool ICollection<T>.Remove(
T item
)
Private Function Remove (
item As T
) As Boolean Implements ICollection(Of T).Remove
Parameters
- item
- Type: T
The object to remove from the ICollection<T>.
Return Value
Type:
Boolean
true if item was successfully removed from the
ICollection<T>; otherwise, false. This method also returns false if item is not found in the original
ICollection<T>.
Implements
ICollection<T>.Remove(T)
ExceptionsException | Condition |
---|
NotSupportedException | The ICollection<T> is read-only. |
See Also