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!

Single.IsInfinity

Returns a Boolean that indicates whether the specified object represents negative or positive infinity.

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

Parameters

f
The object to examine.

Return Value

true if this instance represents negative or positive infinity; otherwise, false.

Remarks

The IsInfinity method is equivalent to IsNegativeInfinity or IsPositiveInfinity.

See Also

Single Structure | Single Members | System Namespace | System.Globalization,.CultureInfo | System.Globalization,.NumberFormatInfo | PositiveInfinity | NegativeInfinity | NaN