Rational.Equality Operator (Int32, Rational)
[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 an integer is equal to a rational number.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Operator = ( _
n As Integer, _
rat As Rational _
) As Boolean
public static bool operator ==(
int n,
Rational rat
)
public:
static bool operator ==(
int n,
Rational rat
)
static let inline (=)
n:int *
rat:Rational : bool
JScript does not support overloaded operators.
Parameters
- n
Type: System.Int32
An integer.
- rat
Type: Microsoft.SolverFoundation.Common.Rational
A rational number.
Return Value
Type: System.Boolean
true if the n parameter is equal to the rat parameter; otherwise, false.
.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.