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.

適用於