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.GenericAssembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)
Syntax
Visual Basic |
---|
Function Intersect ( _
a As ISet(Of T) _
) As ISet(Of T) |
Visual C++ |
---|
ISet<T>^ Intersect(
ISet<T>^ a
) |
Return Value
The intersection of this set with
a.
See Also