TechTalk Genome v4.2

NullableUInt64.CompareTo Method 

Compares this NullableUInt64 structure to a specified object and returns an indication of their relative values.

public int CompareTo(
   object value
);

Parameters

value
An object to compare, or a null reference (Nothing in Visual Basic).

Return Value

A signed number indicating the relative values of the instance and value.

ValueDescription
A negative integer This instance is less than value.
Zero This instance is equal to value.
A positive integer This instance is greater than value.

-or-

value is a null reference (Nothing in Visual Basic) or Null.

Implements

IComparable.CompareTo

Remarks

Any instance of NullableUInt64 , regardless of its value, is considered greater than a null reference (Nothing in Visual Basic) and Null.

Exceptions

Exception TypeCondition
ArgumentException The value is neither null or of type NullableUInt64.

Requirements

Namespace: TechTalk.Genome.NullableTypes

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

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

NullableUInt64 Class | TechTalk.Genome.NullableTypes Namespace