Adds all the elements in the specified collection to the set if they are not already present.
Namespace: Iesi.Collections.GenericAssembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)
Syntax
| C# |
|---|
public bool AddAll( ICollection<T> c ) |
| Visual Basic |
|---|
Public Function AddAll ( _ c As ICollection(Of T) _ ) As Boolean |
| Visual C++ |
|---|
public: virtual bool AddAll( ICollection<T>^ c ) sealed |
Parameters
- c
- Type: System.Collections.Generic..::..ICollection<(Of <(<'T>)>)>
A collection of objects to add to the set.
Return Value
nothing
Exceptions
| Exception | Condition |
|---|---|
| System..::..NotSupportedException | is always thrown |