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)

Syntax

'Declaration
Public ReadOnly Property IsZero As Boolean
public bool IsZero { get; }
public:
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.

Remarks

Zero is defined as (0, 0).

.NET Framework Security

See Also

Reference

Rational Structure

Microsoft.SolverFoundation.Common Namespace