NumberFormatInfo..::..CurrencyPositivePattern Property
Gets or sets the format pattern for positive currency values.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] public int CurrencyPositivePattern { get; set; }
<FieldPropertyAttribute> _ Public Property CurrencyPositivePattern As Integer Get Set
[FieldPropertyAttribute] public: property int^ CurrencyPositivePattern { int^ get (); void set (int^ value); }
Return Value
The format pattern for positive currency values. The default for InvariantInfo is 0, which represents "$n", where "$" is the CurrencySymbol and n is a number.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | The property is being set to a value that is less than 0 or greater than 3. |
System..::..InvalidOperationException | The property is being set and the NumberFormatInfo object is read-only. |