Foley .NET Utilities Class Library

LinkedList.Retain Method 

Retains the first occurrence of each element of the specified ICollection in the LinkedList.

[Visual Basic]
Overrides Public Function Retain( _
   ByVal collection As ICollection _
) As Boolean Implements _
   IList2.Retain
[C#]
public override bool Retain(
   ICollection collection
);

Parameters

collection
The ICollection used to determine what elements to be retained in the LinkedList.

Return Value

true if the LinkedList is modified; otherwise false.

Implements

IList2.Retain

See Also

LinkedList Class | LinkedList Members | Foley.Utilities.Collections Namespace