Performs an "intersection" of the two sets, where only the elements that are present in both sets remain. That is, the element is included if it exists in both sets. The Intersect() operation does not modify the input sets. It returns a Clone() of this set with the appropriate elements removed.

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

Syntax

C#
ISet Intersect(
	ISet a
)
Visual Basic
Function Intersect ( _
	a As ISet _
) As ISet
Visual C++
ISet^ Intersect(
	ISet^ a
)

Parameters

a
Type: Iesi.Collections..::..ISet
A set of elements.

Return Value

The intersection of this set with a.

See Also