![Collapse image](collapse_all.gif)
![Expand Image](expand_all.gif)
![CollapseAll image](collall.gif)
![ExpandAll image](expall.gif)
![DropDown image](drpdown.gif)
![DropDownHover image](drpdown_orange.gif)
![Copy image](copycode.gif)
![CopyHover image](copycodeHighlight.gif)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Searches the list for the first item that compares equal to value.
If one is found, it is removed. Otherwise, the list is unchanged.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
private void IList.Remove( Object value ) |
Visual Basic (Declaration) |
---|
Private Sub System.Collections.IList.Remove ( _ value As Object _ ) Implements IList.Remove |
Visual C++ |
---|
private: virtual void System.Collections.IList.Remove ( Object^ value ) sealed = IList::Remove |
Parameters
- value
- Object
The item to remove from the list.
Remarks
Equality in the list is determined by the default sense of
equality for T. If T implements IComparable<T>, the
Equals method of that interface is used to determine equality. Otherwise,
Object.Equals is used to determine equality.
Exceptions
Exception | Condition |
---|---|
System..::ArgumentException | value cannot be converted to T. |
See Also
ListBase<(Of <T>)> Class
Wintellect.PowerCollections Namespace