Rational.IsZero Property

[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 object is equal to zero.

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


Public ReadOnly Property IsZero As Boolean
public bool IsZero { get; }
property bool IsZero {
    bool get ();
member IsZero : bool
function get IsZero () : boolean

Property Value

Type: System.Boolean
true if the Rational object is equal to zero; otherwise, false.


Zero is defined as (0, 0).

.NET Framework Security

See Also


Rational Structure

Microsoft.SolverFoundation.Common Namespace