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:
[ComVisibleAttribute(false)]
property DigitShapes DigitSubstitution {
	DigitShapes get();
	void set(DigitShapes value);
}

Property Value

Type: System.Globalization::DigitShapes

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

Exception Condition
InvalidOperationException

The current NumberFormatInfo object is read-only.

ArgumentException

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

System_CAPS_importantImportant

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
Show: