NumberFormatInfo..::..CurrencyGroupSizes Property
Gets or sets the number of digits in each group to the left of the decimal in currency values.
Namespace:
System.GlobalizationAssembly: Bridge (in Bridge.dll)
Syntax
[FieldPropertyAttribute] public int[] CurrencyGroupSizes { get; set; }
<FieldPropertyAttribute> _ Public Property CurrencyGroupSizes As Integer() Get Set
[FieldPropertyAttribute] public: property array<int^>^ CurrencyGroupSizes { array<int^>^ get (); void set (array<int^>^ value); }
Return Value
The number of digits in each group to the left of the decimal in currency values. The default for InvariantInfo is a one-dimensional array with only one element, which is set to 3.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | The property is being set to null. |
System..::..ArgumentException | The property is being set and the array contains an entry that is less than 0 or greater than 9.-or- The property is being set and the array contains an entry, other than the last entry, that is set to 0. |
System..::..InvalidOperationException | The property is being set and the NumberFormatInfo object is read-only. |