NumberFormatInfo.DigitSubstitution Property


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

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

Public Property DigitSubstitution As DigitShapes

Property Value

Type: System.Globalization.DigitShapes

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

Exception Condition

The current NumberFormatInfo object is read-only.


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


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

.NET Framework
Available since 2.0
Return to top