PositiveInfinitySymbol Property

NumberFormatInfo.PositiveInfinitySymbol Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the string that represents positive infinity.

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

public string PositiveInfinitySymbol { get; set; }

Property Value

Type: System.String
The string that represents positive infinity. The default for InvariantInfo is "Infinity".

ExceptionCondition
ArgumentNullException

The property is being set to null.

InvalidOperationException

The property is being set and the NumberFormatInfo object is read-only.

For more information on positive infinity, see Double or Single.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft