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 override bool AddAll(
	ICollection<T> c
)
Visual Basic
Public Overrides Function AddAll ( _
	c As ICollection(Of T) _
) As Boolean
Visual C++
public:
virtual bool AddAll(
	ICollection<T>^ c
) override

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.

Implements

ISet<(Of <(<'T>)>)>..::..AddAll(ICollection<(Of <<'(T>)>>))

See Also