Export (0) Print
Expand All

NumberFormatInfo.PositiveSign Property

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

[Visual Basic]
Public Property PositiveSign As String
[C#]
public string PositiveSign {get; set;}
[C++]
public: __property String* get_PositiveSign();
public: __property void set_PositiveSign(String*);
[JScript]
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 "+".

Exceptions

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

Remarks

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

Requirements

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

Show:
© 2014 Microsoft