Overload List

  NameDescription
Public methodIntersect(ISet)
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.
Public methodStatic memberIntersect(ISet, ISet)
Performs an "intersection" of the two sets, where only the elements that are present in both sets remain. That is, the element is included only if it exists in both a and b. Neither input object is modified by the operation. The result object is a Clone() of one of the input objects (a if it is not nullNothingnullptra null reference (Nothing in Visual Basic)) containing the elements from the intersect operation.

See Also