NumberFormatInfo.DigitSubstitution Property

Definition

Gets or sets a value that specifies how the graphical user interface displays the shape of a digit.

C#
public System.Globalization.DigitShapes DigitSubstitution { get; set; }
C#
[System.Runtime.InteropServices.ComVisible(false)]
public System.Globalization.DigitShapes DigitSubstitution { get; set; }

Property Value

One of the enumeration values that specifies the culture-specific digit shape.

Attributes

Exceptions

The current NumberFormatInfo object is read-only.

The value in a set operation is not a valid DigitShapes value.

Remarks

Important

The DigitSubstitution property is reserved for future use. Currently, it is not used in either parsing or formatting operations for the current NumberFormatInfo object.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1