CRaPI - Correct Robust and Perfect API

Flag.IComparable.CompareTo Method 

Compares the current instance with another flag.

int IComparable.CompareTo(
   object pFlag
);

Parameters

pFlag
The flag to compare with.

Return Value

A 32-bit signed integer that indicates the relative order of the flags. The return value has these meanings:

Implements

IComparable.CompareTo

Exceptions

Exception TypeCondition
ArgumentExceptionpFlag is not a Flag.

See Also

Flag Class | TeamYaffa.CRaPI.World Namespace