Rational.CompareTo Method (UInt64)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Compares a rational number to an unsigned long integer.
This API is not CLS-compliant.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Function CompareTo ( _
uu As ULong _
) As Integer
[CLSCompliantAttribute(false)]
public int CompareTo(
ulong uu
)
[CLSCompliantAttribute(false)]
public:
virtual int CompareTo(
unsigned long long uu
) sealed
[<CLSCompliantAttribute(false)>]
abstract CompareTo :
uu:uint64 -> int
[<CLSCompliantAttribute(false)>]
override CompareTo :
uu:uint64 -> int
public final function CompareTo(
uu : ulong
) : int
Parameters
- uu
Type: System.UInt64
An unsigned long integer.
Return Value
Type: System.Int32
A 32-bit signed integer that indicates how the rational number compares to the unsigned long integer. The return values are described in the following table.
Return value |
Description |
---|---|
Less than zero |
This object is less than the other parameter. |
Zero |
The objects are equivalent. |
Greater than zero |
This object is greater than other. |
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.