Retains only the elements in this set that are contained in the specified collection.

Namespace: Iesi.Collections
Assembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)

Syntax

C#
public abstract bool RetainAll(
	ICollection c
)
Visual Basic
Public MustOverride Function RetainAll ( _
	c As ICollection _
) As Boolean
Visual C++
public:
virtual bool RetainAll(
	ICollection^ c
) abstract

Parameters

c
Type: System.Collections..::..ICollection
Collection that defines the set of elements to be retained.

Return Value

trueTruetruetrue (True in Visual Basic) if this set changed as a result of this operation.

Implements

ISet..::..RetainAll(ICollection)

See Also