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#
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

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

See Also