Rational.Equality Operator (Rational, UInt64)

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

Returns a value that indicates whether a rational number is equal to an unsigned long integer.

This API is not CLS-compliant. 

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


Public Shared Operator = ( _
    rat As Rational, _
    n As ULong _
) As Boolean
public static bool operator ==(
    Rational rat,
    ulong n
static bool operator ==(
    Rational rat, 
    unsigned long long n
static let inline (=)
        rat:Rational * 
        n:uint64  : bool
JScript does not support overloaded operators.


Return Value

Type: System.Boolean
true if the rat parameter is equal to the n parameter; otherwise, false.

.NET Framework Security

See Also


Rational Structure

Equality Overload

Microsoft.SolverFoundation.Common Namespace