This documentation is archived and is not being maintained.

NumberFormatInfo.PositiveSign Property

Gets or sets the string that denotes that the associated number is positive.

[Visual Basic]
Public Property PositiveSign As String
public string PositiveSign {get; set;}
public: __property String* get_PositiveSign();
public: __property void set_PositiveSign(String*);
public function get PositiveSign() : String;
public function set PositiveSign(String);

Property Value

The string that denotes that the associated number is positive. The default for InvariantInfo is "+".


Exception Type Condition
InvalidOperationException The property is being set and the NumberFormatInfo is read-only.


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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

NumberFormatInfo Class | NumberFormatInfo Members | System.Globalization Namespace | NegativeSign