Rational.Equals Method (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 a rational number is equal to another rational number.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function Equals ( _
rat As Rational _
) As Boolean
public bool Equals(
Rational rat
)
public:
virtual bool Equals(
Rational rat
) sealed
abstract Equals :
rat:Rational -> bool
override Equals :
rat:Rational -> bool
public final function Equals(
rat : Rational
) : boolean
Parameters
- rat
Type: Microsoft.SolverFoundation.Common.Rational
A rational number.
Return Value
Type: System.Boolean
true if the rational numbers are equal; otherwise, false.
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.