When implemented by a class, retains each element of the specified ICollection in the set.
[Visual Basic]
Function Retain( _
ByVal collection As ICollection _
) As Boolean
true
if the set is modified; otherwise false
.
Exception Type | Condition |
---|---|
System.NotSupportedException | The set is read-only. -or-The set has a fixed size. |
ISet Interface | ISet Members | Foley.Utilities.Collections Namespace