NumberFormatInfo.NegativeInfinitySymbol 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 negative infinity.

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

Syntax

Public Property NegativeInfinitySymbol As String
public string NegativeInfinitySymbol { get; set; }

Property Value

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

Exceptions

Exception Condition
ArgumentNullException

The property is being set to nullNothingnullptra null reference (Nothing in Visual Basic).

InvalidOperationException

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

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

NumberFormatInfo Class

System.Globalization Namespace

PositiveInfinitySymbol