NumberFormatInfo.NegativeInfinitySymbol Property

July 28, 2014

Gets or sets the string that represents negative infinity.

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

public string NegativeInfinitySymbol { get; set; }

Property Value

Type: System.String
The string that represents negative 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 negative infinity, see Double or Single.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft