NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Double.IsInfinity

Determines whether the specified Double represents infinity.

[Visual Basic]
Public Shared Function IsInfinity( _
   ByVal d As Double _
) As Boolean
[C#]
public static bool IsInfinity(
   double d
);
[C++]
public: static bool IsInfinity(
   double d
);
[JScript]
public static function IsInfinity(
   d : double
) : Boolean;

Parameters

d
The Double to examine.

Return Value

true if the number equals PositiveInfinity or NegativeInfinity; otherwise. false.

Remarks

This method is equivalent to the methods IsNegativeInfinity or IsPositiveInfinity.

(In addition see CultureInfo, NumberFormatInfo, PositiveInfinity, NegativeInfinity, and NaN.)

See Also

Double Structure | Double Members | System Namespace