When implemented by a class, removes the first occurrence of a specific object from the list.
[Visual Basic]
Function Remove( _
ByVal value As Object _
) As Boolean
true
if the list is modified; otherwise false
.
This method hides the IList method that returns void. You may want to do an explicit interface method implementation for the IList version to be completely compatible.
Exception Type | Condition |
---|---|
System.NotSupportedException | The list is read-only. -or-The list has a fixed size. |
IList2 Interface | IList2 Members | Foley.Utilities.Collections Namespace | IList2.Remove Overload List