When implemented by a class, retains the first occurrence of each element of the specified ICollection from the list.
[Visual Basic]
Function Retain( _
ByVal collection As ICollection _
) As Boolean
true
if the list is modified; otherwise false
.
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