Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NotFiniteNumberException::OffendingNumber Property

 

Gets the invalid number that is a positive infinity, a negative infinity, or Not-a-Number (NaN).

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public:
property double OffendingNumber {
	double get();
}

Property Value

Type: System::Double

The invalid number.

The OffendingNumber property returns the same value as was passed into the constructor, or zero if no value was supplied. Override the OffendingNumber property to customize the content or format of the invalid value.

This property is read-only.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft