Retains only the elements in this set that are contained in the specified collection.
Namespace: Iesi.CollectionsAssembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)
Syntax
C# |
---|
bool RetainAll( ICollection c ) |
Visual Basic |
---|
Function RetainAll ( _ c As ICollection _ ) As Boolean |
Visual C++ |
---|
bool RetainAll( ICollection^ c ) |
Parameters
- c
- Type: System.Collections..::..ICollection
Collection that defines the set of elements to be retained.