PositiveSign Property

NumberFormatInfo.PositiveSign 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 denotes that the associated number is positive.

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

public string PositiveSign { get; set; }

Property Value

Type: System.String
The string that denotes that the associated number is positive. The default for InvariantInfo is "+".

ExceptionCondition
ArgumentNullException

In a set operation, the value to be assigned to the property is null.

InvalidOperationException

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

This property is used only for parsing numeric strings, not for formatting.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft