TechTalk Genome v4.2

Set<T>.Intersection Method (Set<T>, Set<T>)

Returns the intersection of two Set<T>s.

public static Set<T> Intersection(
   Set<T> left,
   Set<T> right
);

Parameters

left
A Set<T> to be intersected.
right
A Set<T> to be intersected.

Return Value

A Set<T> that contains all elements contained in both left and right.

Exceptions

Exception TypeCondition
GenomeException

The source Set<T>s are in different DataDomains.

or

The source Set<T>s are not merge compatible. To see the cireteria of merge compatibility see OqlReference.Chapter11.

ArgumentNullException Either left or right is a null reference.

Requirements

Namespace: TechTalk.Genome

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.11.59

Editions: Professional, Evaluation, Express

See Also

Set<T> Class | TechTalk.Genome Namespace | Set<T>.Intersection Overload List | op_Multiply | Intersection