TechTalk Genome v4.2

Set<T> Subtraction Operator 

Returns the difference of two Set<T>s.

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

Parameters

left
The Set<T> from which right should be subtracted.
right
The Set<T> which should be subtracted from left.

Return Value

A Set<T> that contains all elements contained in left but not in 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 | Subtract | Subtraction