BigInteger.CompareTo Method (UInt32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Compares a big integer to an unsigned integer.

This API is not CLS-compliant. The CLS-compliant alternative is .

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Function CompareTo ( _
    u As UInteger _
) As Integer
[CLSCompliantAttribute(false)]
public int CompareTo(
    uint u
)
[CLSCompliantAttribute(false)]
public:
virtual int CompareTo(
    unsigned int u
) sealed
[<CLSCompliantAttribute(false)>]
abstract CompareTo : 
        u:uint32 -> int 
[<CLSCompliantAttribute(false)>]
override CompareTo : 
        u:uint32 -> int 
public final function CompareTo(
    u : uint
) : int

Parameters

Return Value

Type: System.Int32
A signed integer that indicates how the big integer compares to an unsigned integer.

Return value

Description

Less than zero

The big integer is less than an unsigned integer.

Zero

The big integer is equal to an unsigned integer.

Greater than zero

The big integer is greater than an unsigned integer.

Implements

IComparable<T>.CompareTo(T)

.NET Framework Security

See Also

Reference

BigInteger Structure

CompareTo Overload

Microsoft.SolverFoundation.Common Namespace