Adds all the elements in the specified collection to the set if they are not already present.

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

Syntax

C#
bool AddAll(
	ICollection<T> c
)
Visual Basic
Function AddAll ( _
	c As ICollection(Of T) _
) As Boolean
Visual C++
bool AddAll(
	ICollection<T>^ c
)

Parameters

c
Type: System.Collections.Generic..::..ICollection<(Of <(<'T>)>)>
A collection of objects to add to the set.

Return Value

trueTruetruetrue (True in Visual Basic) is the set changed as a result of this operation, falseFalsefalsefalse (False in Visual Basic) if not.

See Also