NumberFormatInfo.DigitSubstitution 属性

定义

获取或设置指定图形用户界面如何显示数字形状的值。Gets or sets a value that specifies how the graphical user interface displays the shape of a digit.

public:
 property System::Globalization::DigitShapes DigitSubstitution { System::Globalization::DigitShapes get(); void set(System::Globalization::DigitShapes value); };
[System.Runtime.InteropServices.ComVisible(false)]
public System.Globalization.DigitShapes DigitSubstitution { get; set; }
member this.DigitSubstitution : System.Globalization.DigitShapes with get, set
Public Property DigitSubstitution As DigitShapes

属性值

指定区域性特定的数字形状的枚举值之一。One of the enumeration values that specifies the culture-specific digit shape.

属性

异常

当前 NumberFormatInfo 对象为只读。The current NumberFormatInfo object is read-only.

设置操作中的值不是有效的 DigitShapes 值。The value in a set operation is not a valid DigitShapes value.

注解

重要

DigitSubstitution 属性保留供将来使用。The DigitSubstitution property is reserved for future use. 目前,它不用于当前 NumberFormatInfo 对象的分析或格式设置操作。Currently, it is not used in either parsing or formatting operations for the current NumberFormatInfo object.

适用于