Bewerken

Delen via


NumberFormatInfo.PositiveSign Property

Definition

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

public:
 property System::String ^ PositiveSign { System::String ^ get(); void set(System::String ^ value); };
public string PositiveSign { get; set; }
member this.PositiveSign : string with get, set
Public Property PositiveSign As String

Property Value

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

Exceptions

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

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

Remarks

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

Applies to

See also